Delux2005 Delphi to C# Translator
Now in version 2 - Recoding of VCL controls is supported.
Delphi code and forms are translated to C#, for Visual Studio .NET or Borland C# Builder.
Some special features -
- C# is case sensitive, so all identifiers are consistently capitalised.
- Parameters in event procedures can be flagged and mapped into members of the EventArgs classes
- "With ... Do Begin" is handled by prefixing the class to the property and event names.
- Everything in C# belongs to a class. Free code and procedures are automatically boxed in static classes.
- References to free identifiers and code are corrected to include the static class.
- VCL controls may be translated to WinForms controls.
Delux2005 does most of your translation, but there are always cases where the semantics are too different.
Such a situation is when procedures are declared within procedures, which are not translated in the current version.
Some code in the code viewer. Delphi on the left, C# on the right.

The class dictionary interface. Showing event name mappings and event arguments flagged.