How can I compare an Action with a specific Method?
void MyMethod(string param1, int param2) { }
Action theAction = () => MyMethod(string, int)
MyQueue.Enqueue(theAction)
if (MyQueue.Peek() == MyMethod()) { //Do Thing }
How do I do that last line and have it compile? I dont need to check parameters, just the method itself, but it won't let me do this.