using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace yesW
{
internal class Program
{
static void Main(string[] args)
{
Kod kot = new Kod();
Kod kot2 = new Kod();
Kod kot3 = new Kod(4, "smok" , "smolder" ,4, "rudy");
Kod kot4 = new Kod(kot3);
Kod kot5 = new Kod(6, "zygryfsio");
Tygrys tygrys = new Tygrys("kubuś");
kot.rasa = "Ragdoll";
kot.kolor = "szary";
kot.imie = "rudy";
kot.Waga = 4;
kot.Wiek = 2;
kot2.rasa = "smok";
kot2.kolor = "czerwony";
kot2.imie = "Smolder";
kot2.Waga = 4;
kot2.Wiek = 5;
Console.WriteLine("menu");
Console.WriteLine("1:Przedstaw kota \n2: Poglaszcz \n3:Nakarm \n4: Spij");
string wybor = Console.ReadLine();
switch (wybor)
{
case "1":
kot.PrzedstawKota();
kot2.PrzedstawKota();
kot3.PrzedstawKota();
kot4.PrzedstawKota();
kot5.PrzedstawKota();
tygrys.PrzedstawKota();
break;
case "2":
kot.Poglaszcz();
kot2.Poglaszcz();
break;
case "3":
kot.Nakarm();
break;
case "4":
kot.DajZabawke();
break;
case "5":
kot.Spij();
break;
}
Console.ReadKey();
}
}
}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}