2
Answers

C# Eval function?

Ask a question
Amit

Amit

16y
8.7k
1

Hi there, I want to access an object property dynamically.

Basi idea is I got a string as "oClient.Name" where oClient is an object of type Client and name is the property. How can I get a value of this property at run time?

It is something similar to Eval function we have in Jscript. Any option for C#.net developer ?

Cheers, Ricky


Answers (2)