Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class PARENT {
- public PARENT(string msg) {
- //have sex
- }
- }
- class CHILD: PARENT {
- public CHILD(string msg): base(msg) {
- //cry
- }
- }
- ////then somewhere else you call
- new CHILD("random string");
- //do you cry or have sex first?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement