Calling a function by string and returning value

Hello all,

I’m trying to call a function using a string (because my function name can vary through some possibilities), after doing some search I found about Invoke and Coroutine, but I can’t find a way to return values.

How can I call a function passing paramenters and returning values? I’m using C#

Thanks in advance. Hope my question is clear.

Try if this works out for you. .net - Calling a function from a string in C# - Stack Overflow