using System;
public class Starter {
public static void Main() {
// good
MyClass obj = new MyClass();
// good
MyClass obj2 = new MyClass();
// bad
MyClass obj3 = new MyClass();
}
}
public class MyClass
where K : XClass
where V : YClass {
}
public class XClass {
}
public class YClass {
}
public class WClass : YClass {
}