In my work, I usually have a problem about how to create a non-reference object in C#. So today I want to solve it with a simple way that use the serialization and deserialization of JSON.
Code
1 | using System; |
Finally, we got the output below:
1 | Check the reference of object: False |