Created
December 15, 2017 16:38
-
-
Save zeqk/1efee123ee5ff295419f6e0b10c3e8d9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public interface IFoo {} | |
| public abstract class MyClass<T> | |
| where T : class, IFoo | |
| { | |
| } | |
| class Base { } | |
| class Test<T, U> | |
| where U : struct | |
| where T : Base, new() { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment