public Data(int val, string str) { id = HolderData.dataId; HolderData.Increase(); valueNum = val; valueString = str; }
public Data() { id = HolderData.dataId; HolderData.Increase(); valueNum = 0; valueString = "default"; }