Ejemplo n.º 1
0
        public static void ShowCollection(TestCollection col)
        {
            Console.WriteLine("Collection: ");
            foreach (Shop item in col.collection_1TKey)
            {
                item.ShowInfo();
            }

            Console.WriteLine();
        }
Ejemplo n.º 2
0
        public static void ShowCollection(TestCollection col)
        {
            Console.WriteLine("Collection: ");
            foreach (var item in col.collection_1TKey)
            {
                item.ToString();
            }

            Console.WriteLine();
        }
Ejemplo n.º 3
0
 public static void Main(string[] args)
 {
     col = new TestCollection(20);
     ShowCollection(col);
     Select("Gun");
     Count("Gun");
     Sum("Gun");
     GroupBy(5000);
     MaxMin();
     Console.ReadLine();
 }
Ejemplo n.º 4
0
        public static void Main(string[] args)
        {
            col = new TestCollection(10);
            ShowCollection(col);

            Select(10);
            Count(10);
            Except(10, 10);
            Aggregate();
            GroupBy(10);

            Console.ReadLine();
        }