Constructors

Top  Previous  Next

What is translated > Types > Records, Classes, Interfaces > Class > Constructors

 

In Delphi a declaration of constructors start with the keyword constructor followed  by an arbitrary name. In C# is the name of the of the class also the name of the constructor.

 

constructor classname.foo;    ->   classname::classname ( )

 

 

Constructor of the base class

Initialization lists

Addition of missing constructors

Virtual constructors

Problems with constructors

 

 

 



This page belongs to the Delphi2C# Documentation

Delphi2C# home  Content