Forked from increpare/gist:5054b2df80576c9fac57bb23adf90fe1
Last active
September 11, 2016 20:42
-
-
Save tolland/d772792325176c2ac13b2b4987ec0470 to your computer and use it in GitHub Desktop.
This file contains 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 MyChildSingletonA : SingletonBase<MyChildSingletonA> { | |
} | |
public class MyChildSingletonB : SingletonBase<MyChildSingletonB> { | |
} | |
public class TomQ { | |
public SingletonBase a; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment