public static HeroData2 Instance()
 {
     if(_instance == null)
     {
         lock(lockHelper)
         {
             if(_instance == null)
                  _instance = new HeroData2();
         }
     }
     return _instance;
 }
 public static csvDataParent Instance(string className)
 {
     lock (lockHelper)
     {
         //start
         if (className == "HeroManage")
         {
             return(HeroManage.Instance());
         }
         if (className == "HeroData2")
         {
             return(HeroData2.Instance());
         }
         if (className == "HeroData1")
         {
             return(HeroData1.Instance());
         }
         return(null);
     }
     return(null);
 }