Groups | Blog | Home
all groups > c# > march 2004 >

c# : c# questions


news.microsoft.com
3/17/2004 11:06:19 PM
have anyone tried generics? I heard it's not anywhere near C++ templates.

Thanks.

Jon Skeet [C# MVP]
3/18/2004 8:31:15 AM
[quoted text, click to view]

That depends on what you want to use it for. For the most common uses
of templates, generics do what's required. For some weird and wonderful
uses of templates, generics doesn't even *try* to fill the "gap",
because the gap isn't considered by MS to be worth filling. There are
some things in between where it would be nice to have generics
understand more of the world, but for various reasons it's impractical.

See http://blogs.msdn.com/csharpfaq/archive/2004/03/12/88913.aspx
for more details.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
mohamed.mossad NO[at]SPAM egdsc.microsoft.com
3/18/2004 9:36:48 AM
Hi
this feature will be avalable with the next version whidbey ..
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
AddThis Social Bookmark Button