R
Rick
Hi,
I found these suggestions from Woody Pewitt on the net. Do you agree this is
a best practice?
Rick
BEGIN
- Hungarian notation is out!
- For public interfaces, use PascalCasing
- For private members, use camelCasing
- Use underscore "_" character to denote private class members
- Use camelCasing for all method parameters
public class Customer
{
private string _password;
public void SetPassword(string newPassword)
{
_password = newPassword;
}
}
END
I found these suggestions from Woody Pewitt on the net. Do you agree this is
a best practice?
Rick
BEGIN
- Hungarian notation is out!
- For public interfaces, use PascalCasing
- For private members, use camelCasing
- Use underscore "_" character to denote private class members
- Use camelCasing for all method parameters
public class Customer
{
private string _password;
public void SetPassword(string newPassword)
{
_password = newPassword;
}
}
END