Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does C# use Hungarian notation?

Status
Not open for further replies.

timmay3141

Programmer
Dec 3, 2002
468
US
I've used it a lot in C++, and I'm just learning C#. Since quite a few things are different in C#, is Hungarian notation significantly different, or is it not used at all? In the small amount of C# code I've seen it has not been used.
 
It is your choice to use Hungarian notation or not. In some companies there are standards for coding and you have to use what they ask. Many users of C# are using some Java style, other some VB style. I did some C# projects and I used Microsoft style (with m_* for data members etc…). I think you should take a look at all .NET classes in C# , names, members, properties, events and use the same notation.
-obislavu-
 
At work (and myself at home), we follow the MSDN guidelines.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top