Advertisement
Guest User

Untitled

a guest
May 19th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 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.  
  7. namespace OOP_exam_solution
  8. {
  9. public class Room
  10. {
  11. private double area;
  12. private string roomColor;
  13.  
  14. public double Area {
  15. get { return area; }
  16. set { area = value; }
  17. }
  18.  
  19. public string RoomColor {
  20. get { return roomColor; }
  21. set { roomColor = value; }
  22. }
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement