Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Program
- {
- static void Main(string[] args)
- {
- Rectangle alpha = new Rectangle(10, 45);
- Console.WriteLine("Width = {0}, Length = {1}, Area = {2}", alpha.Width, alpha.Length, alpha.GetArea());
- Console.WriteLIne("The shape is a {0}", Rectangle.ShapeNama);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment