Reply to thread

Doesnt really matter, as long as youre consistance. When I use C#,

I use camel case for everything (camelCase) where the first letter

is small. I dont use hungarian notation at all in C#.


isValid, customerName, cancelButton, are all kinds of things that I

personally use. However, I believe that in the MSDN there is a list

of the hungarian notation conventions. From the top of my head:


Form frm

TextBox txt

Label lbl

Scrollbars hsc/vsc

Slider sld

Panel pnl (?)

Picture pic

Button btn


For variables, I use (these are not necessarily "official"):

String s

Numbers (any kind) i

Boolean b

Char c


Back
Top