コード例 #1
0
ファイル: EntryPoint.cs プロジェクト: jmelcher86/Stuff
 static void Main(string[] args)
 {
     GenericStack<int> exampleIntStack = new GenericStack<int>();
     Console.WriteLine(exampleIntStack.StackEmpty());
     exampleIntStack.Push(25);
     exampleIntStack.Push(26);
     Console.WriteLine(exampleIntStack.StackEmpty());
     Console.WriteLine(exampleIntStack.Pop());
     Console.WriteLine(exampleIntStack.Pop());
     Console.WriteLine(exampleIntStack.StackEmpty());
 }