Is it possible to use the return value of a function instead of a specific value as optional parameter in a function? For example instead of:
public void ExampleMethod(int a, int b, int c=10)
{
}
I want something like
private int ChangeC(int a, int b)
{
return a+b;
}
public void ExampleMethod(int a, int b, int c=ChangeC(a,b))
{
}