Click here to Skip to main content
15,914,767 members
Home / Discussions / C#
   

C#

 
QuestionC# - language design by committee ??? Pin
Christian Graus21-Jul-02 12:55
protectorChristian Graus21-Jul-02 12:55 
AnswerRe: C# - language design by committee ??? Pin
Rama Krishna Vavilala21-Jul-02 15:16
Rama Krishna Vavilala21-Jul-02 15:16 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus21-Jul-02 15:28
protectorChristian Graus21-Jul-02 15:28 
GeneralRe: C# - language design by committee ??? Pin
Rama Krishna Vavilala21-Jul-02 15:38
Rama Krishna Vavilala21-Jul-02 15:38 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus21-Jul-02 15:40
protectorChristian Graus21-Jul-02 15:40 
GeneralRe: C# - language design by committee ??? Pin
jparsons22-Jul-02 5:25
jparsons22-Jul-02 5:25 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus22-Jul-02 12:17
protectorChristian Graus22-Jul-02 12:17 
GeneralRe: C# - language design by committee ??? Pin
Rama Krishna Vavilala22-Jul-02 5:37
Rama Krishna Vavilala22-Jul-02 5:37 
Christian Graus wrote:
That's really deep,

I was watching a movie when I wrote that.

Anyway,
const in C# is not same as const in C++.

These are valid bothe C# and C++

const int x = 200;
const int y = 200 + x;

But this is not

void func()
{
int x;
const int y = x + 10;
}

For the simple reason that compiler cannot calculate the value of y at compile time.

Step back, rub your eyes, take a deep breath, stretch a bit, and reflect on the relative importance of CP, CG, the age / travel time sustained by supposedly 'fresh' cheese curds, and Life in General. - Shog9
GeneralRe: C# - language design by committee ??? Pin
Christian Graus22-Jul-02 12:18
protectorChristian Graus22-Jul-02 12:18 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus22-Jul-02 2:14
protectorChristian Graus22-Jul-02 2:14 
AnswerRe: C# - language design by committee ??? Pin
Nish Nishant21-Jul-02 15:49
sitebuilderNish Nishant21-Jul-02 15:49 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus21-Jul-02 15:57
protectorChristian Graus21-Jul-02 15:57 
GeneralRe: C# - language design by committee ??? Pin
Andy Smith21-Jul-02 17:07
Andy Smith21-Jul-02 17:07 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus21-Jul-02 17:14
protectorChristian Graus21-Jul-02 17:14 
GeneralRe: C# - language design by committee ??? Pin
Nish Nishant21-Jul-02 17:12
sitebuilderNish Nishant21-Jul-02 17:12 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus21-Jul-02 17:19
protectorChristian Graus21-Jul-02 17:19 
GeneralRe: C# - language design by committee ??? Pin
James T. Johnson21-Jul-02 18:01
James T. Johnson21-Jul-02 18:01 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus21-Jul-02 18:18
protectorChristian Graus21-Jul-02 18:18 
GeneralRe: C# - language design by committee ??? Pin
James T. Johnson21-Jul-02 18:54
James T. Johnson21-Jul-02 18:54 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus21-Jul-02 19:04
protectorChristian Graus21-Jul-02 19:04 
GeneralRe: C# - language design by committee ??? Pin
James T. Johnson21-Jul-02 20:14
James T. Johnson21-Jul-02 20:14 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus21-Jul-02 20:33
protectorChristian Graus21-Jul-02 20:33 
GeneralRe: C# - language design by committee ??? Pin
James T. Johnson21-Jul-02 21:12
James T. Johnson21-Jul-02 21:12 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus22-Jul-02 12:08
protectorChristian Graus22-Jul-02 12:08 
GeneralRe: C# - language design by committee ??? Pin
Gerald Schwab22-Jul-02 17:28
Gerald Schwab22-Jul-02 17:28 

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.