Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Programn
- {
- static void Main(string[] arg)
- {
- Rectangle alpha = new Rectangle();
- alpha.Length = 10.0;
- alpha.Width = 30.0;
- Console.WriteLine("The shape is {0}", Rectangle.ShapeName);
- Console.WriteLine("The areas of the rectangle is {0}", alpha.GetArea());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment