My question is very, very simple about C#:
We can create a dynamic type with the syntax:
dynamic dObj = new { P1 = "a", P2 = 1, p3 = DateTime.Now };
For the same result, is there any way to create that object from a string variable? like:
string sObj = @"new { P1 = "a", P2 = 1, p3 = DateTime.Now }";
dynamic dObj = [something].fromstring(sObj);
The idea is to get a object from a object built from a string, or I need a serializer to that?