from:http://www.daniweb.com/software-development/pascal-and-delphi/code/216716/delphi-to-c-equivalances
--- Basic Datatypes ---
--- Form Management ---
--- Data Access ---
--- Component model ---
---BasicDatatypes---
Delphi:Variant C#: object (with boxing)
Delphi:Assert C#: System.Diagnostics.Debug.Assert
---FormManagement---
Delphi:TForm.FormStyle= fsMDIForm C#: Form.IsMDIContainer = true
Delphi:TForm.FormStyle= fsMDIChild C#: Form.MdiParent = ventanaPrincipal;
Delphi:TControl.Align C#: Control.Dock
Delphi:TForm.ShowModal C#: Form.ShowDialog()
Delphi:Button1.Default:=True C#: Form.AcceptButton = button1
Delphi:TForm.ModalResult,TButton.ModalResult C#: Form.DialogResult, Button.DialogResult
Delphi:TButton.Click C#: Button.PerformClick()
Delphi:TButton.OnClick C#: Button.Click
Delphi:Screen.ActiveForm C#: static Form.ActiveForm
Delphi:Application.ExeName C#: System.Windows.Forms.Application.ExecutablePath
Delphi:Application.OnException C#: Application.ThreadException
---DataAccess---
Delphi:TCustomConnection(and descendents) C#: IDbConnection (and implementors)
Delphi:TDataSetProvider C#: IDbDataAdapter (SqlDataAdapter, OleDbDataAdapter, etc)
Delphi:TClientDataSet C#: DataSet, DataTable
Delphi:TField C#: DataColumn
Delphi:TField.Required=True C#: DataColumn.AllowDBNull = false
Delphi:Variants.Null C#: System.DBNull.Value
---Component model ---
Delphi: procedure Loaded;override; C#: Implements ISupportInitialize
Delphi: property X ...default100; C#: [DefaultValue(100)] int X { get; set; }
Delphi:public property X: Y; C#: [Browseable(false)] public Y X { get; set; }
Delphi:TService(Service app.) C#: System.ServiceProcess.ServiceBase
---BasicDatatypes---
Delphi:Variant C#: object (with boxing)
Delphi:Assert C#: System.Diagnostics.Debug.Assert
---FormManagement---
Delphi:TForm.FormStyle= fsMDIForm C#: Form.IsMDIContainer = true
Delphi:TForm.FormStyle= fsMDIChild C#: Form.MdiParent = ventanaPrincipal;
Delphi:TControl.Align C#: Control.Dock
Delphi:TForm.ShowModal C#: Form.ShowDialog()
Delphi:Button1.Default:=True C#: Form.AcceptButton = button1
Delphi:TForm.ModalResult,TButton.ModalResult C#: Form.DialogResult, Button.DialogResult
Delphi:TButton.Click C#: Button.PerformClick()
Delphi:TButton.OnClick C#: Button.Click
Delphi:Screen.ActiveForm C#: static Form.ActiveForm
Delphi:Application.ExeName C#: System.Windows.Forms.Application.ExecutablePath
Delphi:Application.OnException C#: Application.ThreadException
---DataAccess---
Delphi:TCustomConnection(and descendents) C#: IDbConnection (and implementors)
Delphi:TDataSetProvider C#: IDbDataAdapter (SqlDataAdapter, OleDbDataAdapter, etc)
Delphi:TClientDataSet C#: DataSet, DataTable
Delphi:TField C#: DataColumn
Delphi:TField.Required=True C#: DataColumn.AllowDBNull = false
Delphi:Variants.Null C#: System.DBNull.Value
---Component model ---
Delphi: procedure Loaded;override; C#: Implements ISupportInitialize
Delphi: property X ...default100; C#: [DefaultValue(100)] int X { get; set; }
Delphi:public property X: Y; C#: [Browseable(false)] public Y X { get; set; }
Delphi:TService(Service app.) C#: System.ServiceProcess.ServiceBase