I was doing some general reading and came across a document for naming guidelines after I read through it a little I came across the following statement and wanted to get more opinions on this.
What I came across is : Do not prefix parameter names with Hungarian type notation.
What do the rest of you do?
I like to prefix all my Parameters in the method with the following style :
I find this easier to read because I know it is a parameter and it is int.
private void Test(string sparTest, int iparTest2)
{
int iTestInt = iParTest2
}
VERSUS
private void Test(string Test, int Test2)
{
int iTestInt = Test2
}
Agree / Disagree!