C# generics class

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When i try to create a generc class

public class myclass<T>
{

}

microsoft .net does not recognize the token <>

I have the message:
---Invalid token in class


thanks ina dvance

(e-mail address removed)
 
microsoft .net does not recognize the token <>

Generics require the new C# compiler and the new framework (v2.0), which
isn't available yet. Unless you're using a Whidbey preview.

n!
 
Thank you but how can i get Whidbey preview


-----Original Message-----

Generics require the new C# compiler and the new framework (v2.0), which
isn't available yet. Unless you're using a Whidbey preview.

n!


.
 
Thank you but how can i get Whidbey preview

MSDN subscribers can get it by calling MSDN. Others, I believe, have
to wait for a future public beta release.



Mattias
 
Back
Top