Click here to Skip to main content
15,903,388 members
Home / Discussions / C#
   

C#

 
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 
Why didn't they include multiple inheritence: Big question. Best I can do is point you to an in-depth post by one of the CLR guys who explains in detail why they didn't: http://blogs.msdn.com/csharpfaq/archive/2004/03/07/85562.aspx[^]

Why didn't they include typedef's: well, technically they did, they just limited the scope of typedefs to the file level, which is a good thing IMO.

For example, you can write:

using IntList = System.Collections.Generic.List<int>;

...

public void Foo()
{
   IntList list = new IntList();
   list.Add(5);
   ...
}


If you don't like the fact that it's limited to the file level, then I'd just write a value type (e.g. a struct) that holds whatever data you need.


Tech, life, family, faith: Give me a visit.
I'm currently blogging about: The Story of the Spoiled Child
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


AnswerRe: Why I hate C# Pin
PIEBALDconsult28-Nov-07 14:50
mvePIEBALDconsult28-Nov-07 14:50 
GeneralRe: Why I hate C# Pin
Skippums29-Nov-07 4:13
Skippums29-Nov-07 4:13 
GeneralRe: Why I hate C# Pin
PIEBALDconsult29-Nov-07 5:00
mvePIEBALDconsult29-Nov-07 5:00 
GeneralRe: Why I hate C# Pin
Skippums29-Nov-07 5:03
Skippums29-Nov-07 5:03 
AnswerRe: Why I hate C# Pin
Bino B28-Nov-07 15:39
Bino B28-Nov-07 15:39 
AnswerRe: Why I hate C# Pin
Skippums29-Nov-07 4:10
Skippums29-Nov-07 4:10 
QuestionGetting the names of files have extension of mp3 from filesystem?? Pin
omegazafer28-Nov-07 11:57
omegazafer28-Nov-07 11:57 
AnswerRe: Getting the names of files have extension of mp3 from filesystem?? Pin
Anthony Mushrow28-Nov-07 12:10
professionalAnthony Mushrow28-Nov-07 12:10 
GeneralRe: Getting the names of files have extension of mp3 from filesystem?? Pin
Jared Bienz [MSFT]28-Nov-07 12:33
Jared Bienz [MSFT]28-Nov-07 12:33 
AnswerRe: Getting the names of files have extension of mp3 from filesystem?? Pin
Skippums28-Nov-07 12:22
Skippums28-Nov-07 12:22 
GeneralRe: Getting the names of files have extension of mp3 from filesystem?? Pin
Anthony Mushrow28-Nov-07 12:26
professionalAnthony Mushrow28-Nov-07 12:26 
AnswerRe: Getting the names of files have extension of mp3 from filesystem?? Pin
Luc Pattyn28-Nov-07 12:28
sitebuilderLuc Pattyn28-Nov-07 12:28 
GeneralRe: Getting the names of files have extension of mp3 from filesystem?? Pin
Jared Bienz [MSFT]28-Nov-07 12:36
Jared Bienz [MSFT]28-Nov-07 12:36 
GeneralRe: Getting the names of files have extension of mp3 from filesystem?? Pin
Luc Pattyn28-Nov-07 21:50
sitebuilderLuc Pattyn28-Nov-07 21:50 
AnswerRe: Getting the names of files have extension of mp3 from filesystem?? Pin
omegazafer28-Nov-07 12:41
omegazafer28-Nov-07 12:41 
QuestionIdentifier Expected Pin
murtle328-Nov-07 11:31
murtle328-Nov-07 11:31 
AnswerRe: Identifier Expected Pin
Luc Pattyn28-Nov-07 11:38
sitebuilderLuc Pattyn28-Nov-07 11:38 

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.