I have a collection of strings. For example,
string[] coll={\"1\", \"2\", \"3\" ...\"100\"...\"150\"...}
and I have respective methods for th
You can use dynamic invocation
var methodName = "Method" + selector; var method = this.GetType().GetMethod(methodName); if (method == null) { // show error } else method.Invoke(this, null);