For example, in Java, if I have a parameterized class, is it possible to do the following?
public class MyClass<T>{
public void aMethod {
..
T object = new T();
..
}
..
}
In Java, I think it is not possible, because the compiler doesn't know what constructor to call. But in C#? I don't know the language and I've read that many dark things can be done, so I was just wondering..