Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. class A
  2. {
  3. B Child { get; set; }
  4. int Age { get; set; }
  5. string Foo { get; set; }
  6.  
  7. A(B child, int age, string foo)
  8. {
  9. Child = child;
  10. Age = age;
  11. Foo = foo;
  12. }
  13.  
  14. Clone()
  15. {
  16. return new A(Child, Age, Foo);
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement