Example #1
0
        public static void SupVermeshelka()
        {
            Sup vermeshel = new Sup();

            vermeshel.Kartoshka = 150;
            vermeshel.Voda      = 300;
            vermeshel.Svekla    = 0;
            Console.WriteLine("You need buy...");
            Console.Write("Kartoshka - "); Console.WriteLine(vermeshel.Kartoshka);
            Console.Write("Voda - "); Console.WriteLine(vermeshel.Voda);
            Console.Write("Svekla - "); Console.WriteLine(vermeshel.Svekla);
        }
Example #2
0
        public static void SupBorch()
        {
            Sup borch = new Sup();

            borch.Kartoshka = 100;
            borch.Voda      = 200;
            borch.Svekla    = 50;
            Console.WriteLine("You need buy...");
            Console.Write("Kartoshka - "); Console.WriteLine(borch.Kartoshka);
            Console.Write("Voda - "); Console.WriteLine(borch.Voda);
            Console.Write("Svekla - "); Console.WriteLine(borch.Svekla);
        }