public SingleTypeStack <Type> CopySingleTypeStack() { var result = new SingleTypeStack <Type>(); foreach (var e in singleTypeStack) { result.Push(e); } return(result); }
public Clone(Clone clone) { LearnedProgramms = clone.LearnedProgramms.CopySingleTypeStack(); RolledBackProgramms = clone.RolledBackProgramms.CopySingleTypeStack(); }