Click here to Skip to main content
12,629,611 members (32,970 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.

You may also be interested in...

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