How to deep clone objects in C#
There are times when you want to clone an object in C# but it's tedious to copy manually all the properties. This solution uses JSON serialization to clone objects. Below is the code using the Newtonsoft.Json NuGet package which can be used in any .N...
andreslugo.dev1 min read