I wonder what is the fastest way to do shallow copying in C#? I only know there are 2 ways to do shallow copy:
- Copy each field one by one (manual)
I found that (2) is faster than (1). I'm wondering if there's another way to do shallow copying?