0

I have a class lets say students

with properties as

public string sname{get;set;}
public int sid{get;set;}
public studentprofile sprofile{get;set;}

where student profile is another class with some other properties .

I want to do deep copy of the students object.

How to do that.

1

1 Answer 1

1

I think this is already answered. Have a look at this solution : How do you do a deep copy of an object in .NET (C# specifically)?

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.