static void Main(string[] args) { double lg, wd; MyRectangle r = new MyRectangle(); Console.WriteLine("Please Enter Length"); lg = Convert.ToDouble(Console.ReadLine()); Console.WriteLine("Please Enter Width"); wd = Convert.ToDouble(Console.ReadLine()); r.Rect(lg, wd); r.DisplayAnswers(); Console.ReadKey(); }