Anonymous Methods in C#
C# supports delegates for invoking one or multiple methods.
Delegates provide operators and methods for
Anonymous methods is a new feature in C# 2.0 that lets you define an anonymous (that is, nameless) method called by a delegate.
C# supports delegates for invoking one or multiple methods.
Delegates provide operators and methods for
- adding and removing target methods, and are used extensively throughout the .NET Framework for events,
- callbacks,
- asynchronous calls,
- multithreading.
Anonymous methods is a new feature in C# 2.0 that lets you define an anonymous (that is, nameless) method called by a delegate.
No comments:
Post a Comment