I want to use a string that I get from other methods as a command.I get setting name form the method call, and it is different everytime.
Example:
var SettingValue = string.Format("appPool.{0}", settingName);
Is it possible to use that string to do the following:
var what = appPool.Recycling.PeriodicRestart.Time;