[Question]What do i need to learn in order to save and load my custom class to a file?

in a class like this example:

 class MyClass { public string A { get; set; } public int B { get; set; } public SomeOtherClass C { get; set; } .... } 

is there an easy .Net way to save the instance of MyClass to file and later on read that file and set it to an instance of MyClass fast and easy.

by pooya87 via /r/csharp

Leave a Reply