This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public bool ValidateCustomer(IValidateCustomer customer) | |
{ | |
//This method does not retun void and it does not take two ints | |
//So this MyDelegate cannot point to it. | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void DoSomething(int a, int b) | |
{ | |
//do something please | |
} | |
public void Apple(int a, int b) | |
{ | |
//This method also takes two int and returns void | |
} |
NewerOlder