Anonymous Methods

Anonymous methods are methods that are not actually defined, therefore, only suited for one-time use. Anonymous methods are targeted for delegates. The following shows the syntax of an anonymous method. delegate (parameters) { //Code for the anonymous method }; For example, Read more