Object naming conventions for VB .NET

  • Thread starter Thread starter rastaman
  • Start date Start date
R

rastaman

Hi all,

I know of the existence of Object Naming Conventions for Visual Basic 6.
Now I'm reading some books about VB .NET, but the names used for the
objects are button1, picturebox1, etc.
I wonder if I can use the same naming conventions as for VB6 ? If so, what
about the names for the new objects in .NET.

Kind regards
rastaman
 
IMHO, for private or internal procedures, class or procedure variables, etc.
you can use whatever naming convention you like, but for code elements
(classes, procedures, parameters) which are exposed outside your assembly,
you should follow the MS naming conventions.

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
 
Carlos J. Quintero said:
IMHO, for private or internal procedures, class or procedure variables,
etc. you can use whatever naming convention you like, but for code
elements (classes, procedures, parameters) which are exposed outside your
assembly, you should follow the MS naming conventions.
Maybe I oversee something, however, who gives the penalty?

The EC or the state of Calfornia (too Microsoft) because you stated this?

:-))

Cor
 
Back
Top