In the function Test(Func<string,bool> f), how to call f.invoke()? I received the error
Delegate 'Func' does not take '0' arguments
bool b = f(someString);
or:
bool b = f.Invoke(someString);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With