public Stool GetStool() { EnterHeight(); EnterHeightSpinki(); EnterQuality(); Stool stool = new Stool(height, heightSpinki, quality); return(stool); }
static void Main(string[] args) { EnterData data = new EnterData(); Tabyretka tab = data.GetTabyr(); Stool stool = data.GetStool(); Console.WriteLine(tab.Info()); Console.WriteLine(stool.Info()); Console.ReadLine(); }