>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?
You could wade through this :
http://msdn.microsoft.com/en-us/library/xzf533w0(VS.71).aspx.
In general VFP style prefixes are frowned on - you only have to hover over a variable in code to see its type anyway.
>PS. is there a .Net equivalent to VFP's beautify?
Ctrl-K-D will format the document (based on the settings you have chosen in Tools/Options/Text Editor/C#/Formatting)
Nothing else built in but there are several third party options. ReSharper (
http://www.jetbrains.com/resharper/) is good but not cheap....