Delegate function with params
Hello, is it possible to somehow have "named" parameters in the delegate function?
Right now I have:
But that way you have to remember that the first argument is the actual number and the second argument is the expected value for example (In this case it doesn't matter, but let's say we have 3+ args..)
My question is:
Is it possible to have the usage like this somehow? Or using some other approach?
Right now I have:
But that way you have to remember that the first argument is the actual number and the second argument is the expected value for example (In this case it doesn't matter, but let's say we have 3+ args..)
My question is:
Is it possible to have the usage like this somehow? Or using some other approach?