Declare Delegate CodeRush code provider
A delegate is a special kind of object that holds a reference to a method. Once a delegate is assigned a method, it behaves exactly like that method. It can have parameters and a return value. Using a delegate allows the programmer to encapsulate a reference to a method inside a delegate object.
the following result will be produced after the code provider is applied:
the following delegate will be generated:
—– Products: CodeRush Pro Versions: 11.2 and up VS IDEs: 2008 and up Updated: Jun/01/2012 ID: C165