Click here to Skip to main content
16,007,814 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# - language design by committee ??? Pin
Andy Smith22-Jul-02 13:51
Andy Smith22-Jul-02 13:51 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus22-Jul-02 13:55
protectorChristian Graus22-Jul-02 13:55 
GeneralRe: C# - language design by committee ??? Pin
Andy Smith22-Jul-02 15:54
Andy Smith22-Jul-02 15:54 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus22-Jul-02 16:42
protectorChristian Graus22-Jul-02 16:42 
GeneralRe: C# - language design by committee ??? Pin
Kevin McFarlane23-Jul-02 2:18
Kevin McFarlane23-Jul-02 2:18 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus23-Jul-02 12:19
protectorChristian Graus23-Jul-02 12:19 
GeneralRe: C# - language design by committee ??? Pin
Kevin McFarlane24-Jul-02 1:33
Kevin McFarlane24-Jul-02 1:33 
GeneralRe: C# - language design by committee ??? Pin
Eric Gunnerson (msft)22-Jul-02 13:46
Eric Gunnerson (msft)22-Jul-02 13:46 
Christian Graus wrote:
With all due respect, I don't see either of those as valid reasons to disallow me from creating constants as an aid to clarity and bulletproofing my code. Am I right in also thinking I cannot pass paramters into functions as const ? I was reading the Richter book on the bus and I was left with the impression that I cannot const reference types or my own value types at *all* ???

That is true. In C# you have const locals (I was wrong in my earlier statement), and const statics, but that's all. We don't have const parameters or const methods. I'm not sure how we'd support them in a multi-language environment without requiring all languages to implement them.

That's assuming we thought the value was worth the complexity, and I think the jury is out on that one.
AnswerRe: C# - language design by committee ??? Pin
Rama Krishna Vavilala22-Jul-02 16:45
Rama Krishna Vavilala22-Jul-02 16:45 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus22-Jul-02 17:19
protectorChristian Graus22-Jul-02 17:19 
GeneralC# string to c++ char* Pin
[Shadow]21-Jul-02 12:37
[Shadow]21-Jul-02 12:37 
GeneralRe: C# string to c++ char* Pin
jparsons21-Jul-02 12:41
jparsons21-Jul-02 12:41 
GeneralRe: C# string to c++ char* Pin
Rama Krishna Vavilala21-Jul-02 14:22
Rama Krishna Vavilala21-Jul-02 14:22 
GeneralRe: C# string to c++ char* Pin
A.A.22-Jul-02 10:14
A.A.22-Jul-02 10:14 
GeneralHowto?: display a notification Pin
Anonymous21-Jul-02 11:59
Anonymous21-Jul-02 11:59 
GeneralHowto?: display a notification Pin
Anonymous21-Jul-02 11:58
Anonymous21-Jul-02 11:58 
GeneralButtons in Windows Forms Pin
swpo21-Jul-02 8:48
swpo21-Jul-02 8:48 
GeneralRe: Buttons in Windows Forms Pin
jparsons21-Jul-02 12:43
jparsons21-Jul-02 12:43 
GeneralRe: Buttons in Windows Forms Pin
James T. Johnson21-Jul-02 12:44
James T. Johnson21-Jul-02 12:44 
GeneralIs this OO Pin
ColinDavies20-Jul-02 23:18
ColinDavies20-Jul-02 23:18 
GeneralRe: Is this OO Pin
Kevin McFarlane21-Jul-02 5:12
Kevin McFarlane21-Jul-02 5:12 
GeneralRe: Is this OO Pin
ColinDavies21-Jul-02 7:08
ColinDavies21-Jul-02 7:08 
GeneralRe: Is this OO Pin
jparsons21-Jul-02 12:44
jparsons21-Jul-02 12:44 
GeneralRe: Is this OO Pin
Christian Graus21-Jul-02 12:58
protectorChristian Graus21-Jul-02 12:58 
GeneralRe: Is this OO Pin
Kevin McFarlane22-Jul-02 1:07
Kevin McFarlane22-Jul-02 1:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.