What is deep or shall...
What is deep or shall...
The concepts of shallow copy and deep copy in C# refer to different ways of creating copies of objects. Here's an explanation of each:
Shallow Copy:
Example:
ShallowCopy obj = new ShallowCopy();
ShallowCopy objClone = (ShallowCopy)obj.MemberwiseClone(); // Shallow copy
Deep Copy:
expert
Gợi ý câu hỏi phỏng vấn
Chưa có bình luận nào