Abbreviations and C# Naming Conventions for developing a .NET applications.
If you are new, like me, in this brave new world, so welcome!
Name | Abbreviation | ||
---|---|---|---|
A | |||
AdRotator | ar | ||
B | |||
BackgroundWorker | bgw | ||
BindingSource | bds | ||
BindingNavigator | bdn | ||
Button | btn | ||
C | |||
Calendar | cal | ||
CheckBox | chk / cb | ||
CheckBoxList | chklst / cbl | ||
CheckedListBox | ckl / clb | ||
ColorDialog | cld | ||
Column (DataGridView) | col | ||
ColumnHeader (ListView) | ch | ||
ComboBox | cbo / cmb | ||
CompareValidator | cv | ||
ContextMenu | cmnv | ||
ContextMenuStrip | cms | ||
CrystalReportViewer | rptvew / rpt / crv | ||
D | |||
DataGrid | dg / grd | ||
DataGridView | dgv / dtg | ||
DataList | dl / dtl | ||
DataSet | dts | ||
DateTimePicker | dtp | ||
DetailView | dtv | ||
DirectoryEntry | dre | ||
DirectorySearcher | drs | ||
DomainUpDown | dud / upd | ||
DropDownList | ddl | ||
E | |||
ErrorProvider | err | ||
EventLog | evl | ||
F | |||
FileSystemWatcher | fsw | ||
FileUpload | ful | ||
FlowLayoutPanel | flp / fu | ||
FolderBrowserDialog | fbd | ||
FontDialog | ftd / fnd | ||
Form | frm | ||
FormView | fv | ||
G | |||
GridView | gv | ||
GroupBox | grp | ||
H | |||
HelpProvider | hlp | ||
HiddenField | hf / hdn | ||
HScrollBar | hsc | ||
Hyperlink | hlk | ||
I | |||
ImageButton | imgbtn / imb | ||
ImageList | il / ils / img | ||
J | |||
K | |||
L | |||
Label | lbl | ||
LinkButton | lnkbtn / lbtn | ||
LinkLabel | llb | ||
ListBox | lst | ||
ListView | lv / lvw | ||
M | |||
MaskedTextBox | mtx | ||
Menu | mnu | ||
MenuStrip | ms / mns | ||
MessageQueue | msq | ||
MonthCalendar | cdr / mcl | ||
MultiView | mv | ||
N | |||
NotifyIcon | icn / nti | ||
NumericUpDown | nud | ||
O | |||
ObjectDataSource | ods | ||
OpenFileDialog | ofd | ||
P | |||
PagedDataSource | pds | ||
PageSetupDialog | psd | ||
Panel | pnl | ||
PerformanceCounter | pfc | ||
Placeholder | phd | ||
PrintDialog | ptd / prd | ||
PrintDocument | prn / pdc | ||
PrintPreviewDialog | ppd | ||
PrintPreviewControl | ppc / prv | ||
Process | prc | ||
ProgressBar | prg | ||
PropertyGrid | prg | ||
Q | |||
R | |||
RadioButton | rdo / rad | ||
RadioButtonList | rdolst / rdl | ||
RangeValidator | rv | ||
RegularExpressionValidator | rev | ||
Repeater | rpt / rep | ||
ReportDocument | rpd | ||
ReportViewer | rpv | ||
RequiredFieldValidator | rfv | ||
RichTextBox | rtx / rtf | ||
S | |||
SaveFileDialog | sfd | ||
Select | sel | ||
SerialPort | spt | ||
ServiceController | scl | ||
Splitter | spt / spl | ||
SplitContainer | spl | ||
StatusBar | sta | ||
StatusLabel | slbl | ||
StatusStrip | ss / ssr | ||
T | |||
TabControl | tab / tbc | ||
Table | tbl | ||
TableLayoutPanel | tlp | ||
TabPage | tp | ||
TextArea | tarea | ||
TextBox | txt | ||
Timer | tmr | ||
ToolBar | tlb | ||
ToolStrip | ts / tsr | ||
ToolStripButton | tsbtn | ||
ToolStripContainer | tsc | ||
ToolStripDropDownButton | tsddb | ||
ToolStripLabel | tslbl | ||
ToolStripMenuItem | tsmi | ||
ToolTip | tip | ||
TrackBar | trv / trb | ||
TreeView | tv / tvw / tre | ||
U | |||
V | |||
ValidatorSummary | vs | ||
VScrollBar | vsc | ||
W | |||
WebBrowser | wbs | ||
X | |||
Y | |||
Z |
Name | Abbreviation | |
---|---|---|
DataSet | dts | |
DataView | dtv | |
OleDbDataAdapter | oda | |
OleDbConnection | ocn | |
OleDbCommand | ocm | |
SqlDataAdapter | sda | |
SqlConnection | scn | |
SqlCommand | scm |
Name | Abbreviation | |
---|---|---|
Configuration | cfg, config | |
Provider | prov | |
Page | pg | |
Database | db | |
Image | img | |
Virtual Machine | vm | |
Credentials | creds |
⚠ This project is inspired and started by others.
For studies:
- https://www.c-sharpcorner.com/UploadFile/8a67c0/C-Sharp-coding-standards-and-naming-conventions/
- https://samuelmg.wordpress.com/2008/11/11/boas-praticas-em-programacao-abreviando-objetos/
By Yanne
📅 2022