M
Mark Broadbent
stupid question time again to most of you experts but this is something that
continually bothers me.
I am trying to get into the habit of naming variables and controls in an
assembly as per convensions. The thing is that Ive never really get the full
reference to check against.
Ive seen a couple of articles, but there always seems to be a bit missing. I
also always seem to run into conflicting convensions both in code samples
themselves or between different articles.
For instance, in one article it stated that class private and protected
variables should be named underscore+camelcase e.g. _likeThis
But I never seem to come across this in peoples' code samples (whether MS
employee or not).
Another ambigious thing I have noticed (even steming back to VB conventions)
is that when naming controls, I dont seem to find a standard for radiobutton
(i.e. something like rdoMyButton).
So in brief what I am looking for is.....
Naming standards for everything throughout an Assembly. Additionally full
standards as far as is possible for controls. Also could someone clarify
whether class Naming convention is applied to the design time element, the
instance or both. Finally could someone give me conventions for the solution
explorer elements such as the code files *.cs
Thanks!
--
Br,
Mark Broadbent
mcdba , mcse+i
=============
continually bothers me.
I am trying to get into the habit of naming variables and controls in an
assembly as per convensions. The thing is that Ive never really get the full
reference to check against.
Ive seen a couple of articles, but there always seems to be a bit missing. I
also always seem to run into conflicting convensions both in code samples
themselves or between different articles.
For instance, in one article it stated that class private and protected
variables should be named underscore+camelcase e.g. _likeThis
But I never seem to come across this in peoples' code samples (whether MS
employee or not).
Another ambigious thing I have noticed (even steming back to VB conventions)
is that when naming controls, I dont seem to find a standard for radiobutton
(i.e. something like rdoMyButton).
So in brief what I am looking for is.....
Naming standards for everything throughout an Assembly. Additionally full
standards as far as is possible for controls. Also could someone clarify
whether class Naming convention is applied to the design time element, the
instance or both. Finally could someone give me conventions for the solution
explorer elements such as the code files *.cs
Thanks!
--
Br,
Mark Broadbent
mcdba , mcse+i
=============