Information générale
Catégorie:
Code, syntaxe and commandes
Titre:
Few Newbie questions
Versions des environnements
Network:
Windows 2003 Server
Ok,
just created my first little application in C# and have a few "what's best practice" type questions;
1. What is the expected practice for naming controls? frmLogon, btnName, txtInput etc?
2. Is camelCase still best policy for variable naming?
3. Should variable names begin with and identifier of their type? intCounter, strBuffer etc?
I know in reality it will not make my code run faster/better but I would like to follow standard practice. Are there any other "recommended practices" that would be different to what I am used to in VFP?
Gary.
PS. is there a .Net equivalent to VFP's beautify?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement