As per coding standard object name for class is
eg SqlConnection sqlConnection=new SqlConnection();
but when we have class like IPAddress
(first 2 char are capital), what will be name of object?
IPAddress iPAddress=new IPAddress();
IPAddress ipAddress=new IPAddress();
IPAddress IPAddress=new IPAddress();
What is best way according to standard.
I don't like
iPAddress
. Looks likePAddress
is the name of something and thati
is just a prefix for that.I don't like
IPAddress
. Looks like a type name.I do like
ipAddress
. Easy to read. Makes sense.