Click here to Skip to main content
11,647,828 members (60,117 online)
Click here to Skip to main content

Anonymous Methods

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

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