Click here to Skip to main content
15,918,808 members
Home / Discussions / C#
   

C#

 
GeneralRe: Why I hate C# Pin
Skippums28-Nov-07 12:58
Skippums28-Nov-07 12:58 
GeneralRe: Why I hate C# Pin
Jeffrey Walton28-Nov-07 13:03
Jeffrey Walton28-Nov-07 13:03 
GeneralRe: Why I hate C# Pin
Colin Angus Mackay28-Nov-07 13:03
Colin Angus Mackay28-Nov-07 13:03 
GeneralRe: Why I hate C# [modified] Pin
Skippums28-Nov-07 13:36
Skippums28-Nov-07 13:36 
AnswerRe: Why I hate C# Pin
Paul Conrad28-Nov-07 12:31
professionalPaul Conrad28-Nov-07 12:31 
GeneralRe: Why I hate C# Pin
Skippums28-Nov-07 12:59
Skippums28-Nov-07 12:59 
GeneralRe: Why I hate C# Pin
Paul Conrad28-Nov-07 13:42
professionalPaul Conrad28-Nov-07 13:42 
AnswerRe: Why I hate C# Pin
Christian Graus28-Nov-07 12:36
protectorChristian Graus28-Nov-07 12:36 
Why not learn C# instead of trying to make it be C++ ? As most types are passed by reference, you essentially have pointers.

You should probably clean up your design before you start coding.

You can't define a class derived from a value type. I wonder if you can derive a class from an int?, I don't know. But, you can define a class which exposes the Id and change the type in there if you want.

I agree that it sucks that we don't have optional parameters. The C# team is caught up in worrying about how to impliment named parameters, although I've told them that just C++ style would be fine.

Skippums wrote:
I am also disappointed that an interface member who returns void (nothing) cannot be implemented by a method that returns some other type.


You can't differentiate a method by return type in C++, either.



Christian Graus - Microsoft MVP - C++

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: Why I hate C# Pin
Jeffrey Walton28-Nov-07 13:07
Jeffrey Walton28-Nov-07 13:07 
GeneralRe: Why I hate C# Pin
Skippums28-Nov-07 13:13
Skippums28-Nov-07 13:13 
GeneralRe: Why I hate C# Pin
Christian Graus28-Nov-07 13:31
protectorChristian Graus28-Nov-07 13:31 
AnswerRe: Why I hate C# Pin
Jeffrey Walton28-Nov-07 12:59
Jeffrey Walton28-Nov-07 12:59 
AnswerRe: Why I hate C# Pin
Judah Gabriel Himango28-Nov-07 13:11
sponsorJudah Gabriel Himango28-Nov-07 13:11 
GeneralRe: Why I hate C# Pin
Skippums28-Nov-07 13:15
Skippums28-Nov-07 13:15 
GeneralRe: Why I hate C# Pin
Anthony Mushrow28-Nov-07 13:22
professionalAnthony Mushrow28-Nov-07 13:22 
GeneralRe: Why I hate C# Pin
Paul Conrad28-Nov-07 14:31
professionalPaul Conrad28-Nov-07 14:31 
GeneralRe: Why I hate C# Pin
Christian Graus28-Nov-07 13:33
protectorChristian Graus28-Nov-07 13:33 
GeneralRe: Why I hate C# Pin
Skippums28-Nov-07 13:39
Skippums28-Nov-07 13:39 
GeneralRe: Why I hate C# Pin
Christian Graus28-Nov-07 15:14
protectorChristian Graus28-Nov-07 15:14 
GeneralRe: Why I hate C# Pin
Luc Pattyn28-Nov-07 22:35
sitebuilderLuc Pattyn28-Nov-07 22:35 
GeneralRe: Why I hate C# Pin
Skippums29-Nov-07 4:18
Skippums29-Nov-07 4:18 
GeneralRe: Why I hate C# Pin
Paul Conrad28-Nov-07 14:32
professionalPaul Conrad28-Nov-07 14:32 
GeneralRe: Why I hate C# Pin
PIEBALDconsult28-Nov-07 14:59
mvePIEBALDconsult28-Nov-07 14:59 
GeneralRe: Why I hate C# Pin
Alaric_29-Nov-07 7:26
professionalAlaric_29-Nov-07 7:26 
GeneralRe: Why I hate C# Pin
Judah Gabriel Himango28-Nov-07 15:27
sponsorJudah Gabriel Himango28-Nov-07 15:27 

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.