multiple generic constraints c# code example
Example: multiple generic constraints c#
class Base { }
class Test<T, U>
where U : struct
where T : Base, new()
{ }
class Base { }
class Test<T, U>
where U : struct
where T : Base, new()
{ }