G
Guest
Anyone know if you can have an OR type of contraint in the where clause?
Psudo example
Void MyMethod<T>(T list, string b) where T:interface1 OR interface2 {}
Does that make sense? ( T should implement at least one of the interfaces (
interface1 and/or interface2 )
Psudo example
Void MyMethod<T>(T list, string b) where T:interface1 OR interface2 {}
Does that make sense? ( T should implement at least one of the interfaces (
interface1 and/or interface2 )