Generix in C#

  • Thread starter Thread starter TT \(Tom Tempelaere\)
  • Start date Start date
T

TT \(Tom Tempelaere\)

Hi,

From which version do I get template stuff in C#.

I was trying something like

ArrayList<Point> pa;
etc.

And it didn't work. It was at work and I don't recall the version I have
there. Does it depend on the .net framework too?

Thanks.
 
To clairify things. Whideby is the project name for Visual Studio.NET 2004
and I believe it has a targeted release in Q4 this year.

//Andreas

Sam Gentile said:
Generics are in Whidbey which is not in a public beta right now

--
--------------------------------------------------------------
Sam Gentile [C#/.NET MVP]
.NET Blog http://samgentile.com/blog/
MSDN Column:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/bridge.asp
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
---------------------------------------------------------------
TT (Tom Tempelaere) said:
Hi,

From which version do I get template stuff in C#.

I was trying something like

ArrayList<Point> pa;
etc.

And it didn't work. It was at work and I don't recall the version I have
there. Does it depend on the .net framework too?

Thanks.
 
Damn, running ahead :). It akes not having templates for collections.

Thanks,
---
Cheers,
Tom Tempelaere


Andreas Håkansson said:
To clairify things. Whideby is the project name for Visual Studio.NET 2004
and I believe it has a targeted release in Q4 this year.

//Andreas

Sam Gentile said:
Generics are in Whidbey which is not in a public beta right now

--
--------------------------------------------------------------
Sam Gentile [C#/.NET MVP]
.NET Blog http://samgentile.com/blog/
MSDN Column:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/bridge.asp
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
 
I know I'm counting the days left ... =)

//Andreas

TT (Tom Tempelaere) said:
Damn, running ahead :). It akes not having templates for collections.

Thanks,
---
Cheers,
Tom Tempelaere


Andreas Håkansson said:
To clairify things. Whideby is the project name for Visual Studio.NET 2004
and I believe it has a targeted release in Q4 this year.

//Andreas

Sam Gentile said:
Generics are in Whidbey which is not in a public beta right now

--
--------------------------------------------------------------
Sam Gentile [C#/.NET MVP]
.NET Blog http://samgentile.com/blog/
MSDN Column:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/bridge.asp
 
Tom,
I was trying something like

ArrayList<Point> pa;

FWIW, the generic version if ArrayList is simply called List and is in
the System.Collections.Generic namespace. So when you get a chance to
try it, you should use

List<Point> pa;



Mattias
 
Back
Top