How To Use Delegate In c#.Net
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheCE5sAq6mdQCSl4e9TgpaUHJy0HgLJyTpbVUUkJBHDB9OiqJw4eMA0nDTlzU5GF4_TP8_8FFJCQO-OYHEzz6esuB4ni5b8CjSW2YyUhxG3UT22rvMz3ccdOkhWS8nkJuJuogciHAh8XA/s1600/delegatec%23.png)
Definition: Basically delegate is list of the methods with same parameter Use: When you have many method and you want to call all method at same time with same parameter then delegate is use . Delegate is use when method takes same parameter as argument and also returns same data type value. Example: here in example there is two methods name ‘method1’ and ‘method2’ these both method take same argument and dose not return any value. How to declare: For use delegate keyword delegate is used first you have to declare the delegate like delegate void Mydelegate ( string mystring); This delegate which return type is void and take ne argument as string an delegate name is “Mydelegate” How To Use : For use this delegate we make insta...