So I have the following function. I would like it to have a standard parameter value but I can't get it to work as it needs to be a compile time constant. I know I can set it to null but I want it to be a specific function.
private void func(Func<List<int>, bool> eval = _ => true)
{
var b = eval();
}
Is it even possible to something like this?