Click here to Skip to main content
13,293,698 members (72,705 online)
Click here to Skip to main content

Anonymous Methods

, 15 Feb 2013
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.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.171207.1 | Last Updated 15 Feb 2013
Article Copyright 2013 by Member 7677223
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid