Object naming conventions for VB .NET

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
 
W

W.G. Ryan eMVP

I"d prefer MUST at all costs personally but Idont' think that would fly ;-)
 
C

Carlos J. Quintero [.NET MVP]

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
 
C

Cor Ligthert

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top