Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Program
- {
- static void Main(string[] args)
- {
- Rectangle alpha= new Rectangle();
- alpha.Length = 10.0;
- alpha.Width = 20.0;
- double area = alpha.GetArea();
- Console.WriteLine(“Area of Rectangle: {0}”, area);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment