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.0, 20.0);
- double area = alpha.GetArea();
- Console.WriteLine(“Area of Rectangle: {0}”, area);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment