mjc65

prop2

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