static void Main(string[] args) { Console.WriteLine(typeof(GenericList <>).GetCustomAttribute(typeof(Ver))); GenericList <string> list = new GenericList <string>(); GenericList <Point2D> list2 = new GenericList <Point2D>(); list2.Add(new Point2D(5, 3)); list2.Add(new Point2D(6, 4)); list.Add("az"); list.Add("ti"); list.Add("toj"); list.Add("tq"); list.Insert("to", 1); list.Remove(3); for (int i = 0; i < list.Count; i++) { Console.WriteLine(list[i]); } Console.WriteLine(Environment.NewLine); Console.WriteLine(list.FindIndexOf("toj")); Console.WriteLine(list); Console.WriteLine(list.Contains("tq")); Console.WriteLine(list.Max()); Console.WriteLine(list2.Max()); Console.WriteLine(list2.Contains(new Point2D(5, 3))); Console.WriteLine(list2.Contains(new Point2D(5, 2))); }