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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top