public static void Main()
Circle circle = new Circle();
Rectangle rectangle = new Rectangle();
public Shape(string name, int sides, string color)
Console.WriteLine("This is a shape");
public string Color { get; set; }
public int Sides { get; set; }
public string Name { get; set; }
internal class Circle : Shape
public Circle(int radius, string name, int sides, string color) : base(name,sides,color){
public int Radius { get; set; }
Console.WriteLine("This is the Radius: " + Radius);
internal class Rectangle : Shape
public Rectangle(int width, int length, string name, int sides, string color) : base(name,sides,color){
Console.WriteLine("Length is: " + Length);
Console.WriteLine("Width is: " + Width);
public int Length { get; set; }
public int Width { get; set; } }