Add support for Windows x64 Full AOT + LLVM + Interpreter on CI. (#15276)
[mono-project.git] / mcs / tests / gtest-006.cs
blob5985fa6da29981edbe5d32263bc998ec3246f12d
1 // Using an array of a type parameter.
3 class Stack<T>
5 int size;
6 T[] data;
8 public Stack ()
10 data = new T [200];
13 public void Push (T item)
15 data [size++] = item;
18 public T Pop ()
20 return data [--size];
23 public void Hello (T t)
25 System.Console.WriteLine ("Hello: {0}", t);
29 class Test
31 public static void Main ()