How can I do this in C#?
public class SomeClass<T extends SomeInterface>{}
This is a generic class of T, and T must implement the interface SomeInterface.
How can I do this in C#?
public class SomeClass<T extends SomeInterface>{}
This is a generic class of T, and T must implement the interface SomeInterface.