Is there a way to write a delegate type as being specific for some parameters and tolerant of anything for others? For example, I can specify this type:
alias MyDelegateType = void delegate(string name, int age);
It would be compatible with a pointer to this function converted to a delegate:
void someFunc(string name, int age) { // }
That type would not work for this function though:
void anotherFunc(string name, int age, string location) { // }
How can I write a type that is strict for the first two parameters but tolerant of any other parameter following those?