XNA Rockstar

Were templates left out of C# I can't seem to get this code to work

template <class entity_type>

public class State

{

// code

}

Anyone know what I could do to fix this Or if it was left out (as grand master Wikipedia says it is), does anyone know of an alternative to get the similar functionality



Re: XNA Game Studio Express template in C#

Shawn Hargreaves - MSFT

C# has generics, which are roughly similar to C++ templates but significantly more limited. They're a lot easier to use, but can't do everything that templates are capable of.

http://www.informit.com/articles/article.asp p=425817&rl=1
http://www.codeproject.com/csharp/Generics_Explained.asp