Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The question came up about naming convetions for C# and I thought I would put out a couple of sites that I think are relevant. Feel free to post other sites you think would be cool, too!
Microsoft Guidance
https://msdn.microsoft.com/en-us/library/ms229002.aspx
Pretty good post on conventions outside MS:
https://poke53280.net/Programming/Standards.aspx
Share yours!
Comments
Anonymous
August 26, 2008
PingBack from http://blog.a-foton.ru/2008/08/naming-conventions-for-coding/Anonymous
August 26, 2008
The comment has been removedAnonymous
August 27, 2008
Your code for properties looks good to me. I suppose if you want to get fancy you could do automatic properties. Here are some refernce links that may help: http://msdn.microsoft.com/en-us/library/w86s7x04(VS.80).aspx http://weblogs.asp.net/gunnarpeipman/archive/2007/11/16/c-automatic-properties.aspx Now as for your constructor code. It appears that you don't want people to use the default constructor so you need to change it from PUBLIC to PRIVATE. Here is some guidance: http://msdn.microsoft.com/en-us/library/ms173115(VS.80).aspx And the rest looks good as near as i can tell at first glance.