Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class A
- {
- B Child { get; set; }
- int Age { get; set; }
- string Foo { get; set; }
- A(B child, int age, string foo)
- {
- Child = child;
- Age = age;
- Foo = foo;
- }
- Clone()
- {
- return new A(Child.Clone(), Age, Foo);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement