Amit

Amit

  • NA
  • 2
  • 0

C# Eval function?

May 6 2008 8:32 PM

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)