How to read in an object by its member variables' names from a text file? For example, I have a class Point with X, Y, Z properties. And I can read a point by
Z = 1; X = 2; Y = 3;
Or is there any existing libraries to do similar things?
I think I can use Console to read a line or lines and then parse the lines. Is there any pattern or generic templates that I can make it automatic for any class.