public static void Main() { Calculate Square=new Calculate(); Square.Area(2.3,3.5); Square.Long(2.3,3.5); Console.WriteLine("该长方形面积为:"+Square.Area(2.3,3.5)+"该长方形长度:"+Square.Long(2.3,3.5)); }