mjc65

object

May 5th, 2020
843
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.20 KB | None | 0 0
  1. class Program
  2. {
  3.     static void Main(string[] args)
  4.     {
  5.         Rectangle alpha= new Rectangle(10.0, 20.0);
  6.         double area = alpha.GetArea();
  7.         Console.WriteLine(“Area of Rectangle: {0}”, area);
  8.     }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment