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

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

            Console.WriteLine();
        }
Example #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();
 }
Example #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();
        }