2

Is there a way to call methods at run time.?

I would like to store functions definitions as a string in text file and at run time i just want to read all text from that file and convert into function/method and pass parameter to that and get result.

ex :

int add_no (int a ,int b)
{
    return a+b;
}

is that possible in C#??

Sergey Kalinichenko
  • 697,062
  • 78
  • 1,055
  • 1,465

0 Answers0