Click here to Skip to main content
11,410,333 members (61,151 online)
Click here to Skip to main content

Anonymous Methods

, 15 Feb 2013 CPOL
CodeProjectIn versions of C# previous to 2.0, the only way to declare a delegate was to use named methods. C# 2.0 introduces anonymous methods.Creating anonymous methods is essentially a way to pass a code block as a delegate parameter. For example:// Create a handler for a click eventbutton1.Click
This article is not currently available for viewing.

Please go to the Uncategorised Technical Blogs Table of Contents to view the list of available articles in this section.
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150414.5 | Last Updated 15 Feb 2013
Article Copyright 2013 by Member 7677223
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid