Guest User

Untitled

a guest
Oct 17th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Text.RegularExpressions;
  7.  
  8. namespace ConsoleApplication1
  9. {
  10. class Program
  11. {
  12. public class Rectangle : Shape
  13. {
  14. public int height, width;
  15. public Rectangle(int height,int width) { this.height = height; this.width = width; }
  16. public override double Square { get { return height*width; } }
  17. }
  18. }
  19. }
  20.  
  21. using System;
  22. using System.Collections.Generic;
  23. using System.Linq;
  24. using System.Text;
  25. using System.Threading.Tasks;
  26. using ConsoleApplication1;
  27.  
  28. namespace Test_Access
  29. {
  30.  
  31. class Program
  32. {
  33. static void Main(string[] args)
  34. {
  35. }
  36. }
  37. }
Add Comment
Please, Sign In to add comment