How to dynamically call a method in C#?

Viewed 67387

I have a method:

  add(int x,int y)

I also have:

int a = 5;
int b = 6;
string s = "add";

Is it possible to call add(a,b) using the string s?

5 Answers
Related