J
Jacek Jurkowski
How to ensure that generic Collection
accept only String as a typeparam?
This causes an compiler error...
public class StringCollection<T> : List<T> where T : String
{
}
accept only String as a typeparam?
This causes an compiler error...
public class StringCollection<T> : List<T> where T : String
{
}