csharp string to variable name

Code Example - csharp string to variable name

                
                        Well, you can use Type.GetProperty(name) to get a PropertyInfo, then call GetValue.