====== c# 사용하는 오브젝트 이름 짓는 규칙 ====== 딱히 정해진 규칙은 없는 것 같다. VB 사용자를 위해서는 규칙을 정한 적이 있는 것 같지만, VC6 시절이고. ( [[http://msdn.microsoft.com/en-us/library/aa263493(v=vs.60).aspx|Object Naming Conventions]] ) 위키북에 있는게 참고할만 할듯. ( [[http://en.wikibooks.org/wiki/C_Sharp_Programming/Naming|C# Programming/Naming]] ) asp.net에서 참고해서 정리했다는 prefix ^ Control ^ Prefix ^ Example ^ | Label | lbl | lblSurname | | TextBox | txt | txtSurname | | DataGrid | dg | dgResults | | GridView | gv | gvResults2 | | Button | btn | btnSave | | ImageButton | iBtn | iBtnSave | | Hyperlink | lnk | lnkHomePage | | DropDownList | ddl | ddlCompany | | ListBox | lst | lstCompany | | DataList | dLst | dlstAddress | | DataSet | ds | dsInvoices | | DataTable | dt | dtClients | | DataRow | dr | drUser | | Repeater | rep | repSection | | Checkbox | chk | chkMailList | | CheckBoxList | chk | chkAddress | | RadioButton | rBtn | rBtnSex | | RadioButtonList | rBtn | rBtnAgeGroup | | Image | img | imgLogo | | Panel | pnl | pnlSevtion | | PlaceHolder | plh | plhHeader | | Calendar | txt | txtMyDate | | AdRotator | adr | adrBanner | | Table | tbl | tblResults | | [All] Validators | val (N/A) | valCreditCardNumber | | ValidationSummary | vals (N/A) | valsErrors | {{tag> 네이밍 c#네이밍}}