Created
September 11, 2016 20:34
-
-
Save increpare/5054b2df80576c9fac57bb23adf90fe1 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
using System; | |
using System.Collections; | |
public class SingletonBase<T> where T : SingletonBase<T>{ | |
} | |
public class MyChildSingleton : SingletonBase<MyChildSingleton> { | |
} | |
public class TomQ { | |
public MyChildSingleton a; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment