|Top Previous Next
If the tuning option Initialize variables is chosen, default values are assigned to all variables.
The initialization of variables is in Delphi and C# is the same. Local automatic variables and normal variables of a class aren't initialized, while global and static (class) variables are initialized to zero. Nevertheless Delphi2C# offers the option to initialize all variables explicitly, either to achieve reproducible behave or just to suppress compiler warnings.
This page belongs to the Delphi2C# Documentation
|Delphi2C# home Content