using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Sog; using ProtoCSStruct; namespace Version { public class Program { public static void Main(string[] args) { try { CsBattleSimulatorRes res = new CsBattleSimulatorRes(); BattleInfoAll one = new BattleInfoAll(); res.BattleInfos.Add(ref one); res.BattleInfos.Add(ref one); } catch(Exception ex) { Console.WriteLine(ex.Message); } } } }