Anonymous Methods

Top  Previous  Next

New features since Delphi 7 > Anonymous Methods

The corresponding C# feature to Delphi's anonymous methods are delegates. The translation is quite straight forward:


The following examples are taken from



Assignment to a method reference
Assignment to a method
Using anonymous methods
Variable binding
Use as events




This page belongs to the Delphi2C# Documentation

Delphi2C# home  Content