static void Main(string[] args) { TwoDirectionList<int> mylist = new TwoDirectionList<int>(); mylist.Add(1); mylist.Add(2); mylist.Add(3); foreach(var item in mylist) { Console.WriteLine(item); } Console.ReadLine(); }
public void TestMethodGet_Int_25() { TwoDirectionList<int> tdl = new TwoDirectionList<int>(); tdl.Add(10); Assert.AreEqual(10, tdl.GetLast()); }