示例#1
0
文件: Program.cs 项目: zontak/OOP
        static void Main(string[] args)
        {
            var genericlist = new GenericList <String>(3);

            genericlist.Add("kur");
            genericlist.Add("kuramiqnko");
            genericlist.Add("asdasd");
            genericlist.Add("lqwlwqle");
            genericlist.Add("zsfsdsdg");
            genericlist.Add("sdsf");

            Console.WriteLine(((Attributes)Attribute.GetCustomAttribute(genericlist.GetType(), typeof(Attributes))).Version);

            Console.WriteLine(genericlist.Max());
        }