示例#1
0
 ListStack(NonListStackData[] data, ListStack formerStack)
     : base(formerStack.OutStream)
 {
     _data = new NonListStackData[data.Length + formerStack._data.Length];
     data.CopyTo(_data, 0);
     formerStack._data.CopyTo(_data, data.Length);
 }
示例#2
0
 ListStack(NonListStackData[] data, NonListStackData formerStackData)
     : base(formerStackData.OutStream)
 {
     _data = new NonListStackData[data.Length + 1];
     data.CopyTo(_data, 0);
     _data[data.Length] = formerStackData;
 }