Chiming in on the C# coding standards.
Lance has posted a nice little tidbit on C# coding standards here.
I pretty much concur with the coding style that Lance has put forth in his coding standards document. I have a possible suggestion about how to deal with constants. Consider creating a static class (could be nested) to contain your constants. Given this “grouping” if you will of constants I would prefer to name the constants using the Pascal case rather than all caps. Here is an example:
public class Constants{
// Make this class static.
private Constants() {}
public const string AppName = "MyApp";
...
}
I'm not suggesting that you put all of your constants in a single class, just simply place them into logical groupings. From the code window usage standpoint they tend to feel more like enums then. P.S. 9 times out of 10 if you are using numeric constants they can be converted to enums.