public required double Length {get; set;}
public required double Width {get; set;}
public double Area{get => Area; set => Area = value;}
public void Scale (in double scalingFactor){
Console.Write("Waht is the Length of the rectangle");
Convert.ToDouble(Console.ReadLine());
Console.Write("Waht is the Width of the rectangle");
Convert.ToDouble(Console.ReadLine());
Rectangle rectangle = new Rectangle
Length = Math.Abs(length),
Area = Math.Abs(length)* Math.Abs(width),
Console.WriteLine(" nameof(rectangle.Length) :" + rectangle.Length);
Console.WriteLine(" nameof(rectangle.Width) :" + rectangle.Width);
Console.WriteLine(" nameof(rectangle.Area) :" + rectangle.Area );
Console.WriteLine(" Enter the scaling factor:");
double scalingFactor = Convert.ToDouble(Console.ReadLine());
rectangle.Scale (in scalingFactor);
Console.WriteLine(" nameof(rectangle.Length) :" + rectangle.Length);
Console.WriteLine(" nameof(rectangle.Width) :" + rectangle.Width);
Console.WriteLine(" nameof(rectangle.Area) :" + rectangle.Area );