Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public abstract class Building
- {
- public Person Person { Get; Set; }
- public Building Building { Get; Set; }
- }
- public class House : Building
- {
- // Other House properties
- }
- public class Garage : Building
- {
- // Other Garage properties
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement