Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. class Class1 : Example
  2. {
  3. public int a;
  4. protected double b;
  5. public double property1
  6. {
  7. set { b = value; }
  8. }
  9. public int c{ get; }
  10. public int method1(int x) { return x * x * x; }
  11. }
  12. class Class2 : Example
  13. {
  14. public int a;
  15. public double property1 { get; set; }
  16. public int method1(int x) { return x * x; }
  17. }
  18. class Class3 : Example
  19. {
  20. public int a;
  21. public double property1 { get; set; }
  22. }
  23. interface IHw2
  24. {
  25. // ……..…?.
  26. }
  27.  
  28. interface Example
  29. {
  30. double property1 {set; }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement