L
Lance
Hi,
Is there a way to call an object or method, but use a variable to represent
the method or property to be used? eg:
I want to create a regular expression, but the regexp options I want to wait
until runtime to decide which options to use.
The following attempt throws an error:
string rxo = "MultiLine";
Regex rx = new Regex( sRegex, RegexOptions.rxo);
Thanks,
Lance
Is there a way to call an object or method, but use a variable to represent
the method or property to be used? eg:
I want to create a regular expression, but the regexp options I want to wait
until runtime to decide which options to use.
The following attempt throws an error:
string rxo = "MultiLine";
Regex rx = new Regex( sRegex, RegexOptions.rxo);
Thanks,
Lance