C
CSharpner
I was expecting the following code to work in C# 4.0:
public class MyGenericType<T>: T
{
//... stuff ...
}
But it doesn't.
Perhaps the syntax is different than what I'm attempting? Or is it
just that it still hasn't been implemented and maybe in C# 5.0?
http://books.google.com/books?id=kQ...rom t because it is a type parameter"&f=false
public class MyGenericType<T>: T
{
//... stuff ...
}
But it doesn't.
Perhaps the syntax is different than what I'm attempting? Or is it
just that it still hasn't been implemented and maybe in C# 5.0?
http://books.google.com/books?id=kQ...rom t because it is a type parameter"&f=false