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
  • 714,442
  • 84
  • 1,110
  • 1,523

0 Answers0