In C#(.NET), what are the regular "formatting" standards?
For instance, for parameter names, so far I noticed camelCase with no prefix, is that right? For object names, camelCase and no prefix either, right?
For namespaces, classes, functions and properties, first letter of the word is capitalized and there is no prefix, is this right (again)?
How are "temporary" objects formatted?
Example:
namespace TestNamespace
{
class MyOwnCoolClass
{
MyOwnCoolClass(int length, BinaryWriter writer)
{
BinaryWriter tempbw = new BinaryWriter(length);
return tempbw;
}
}
}
(Note: This code is not valid, I know, it's just to demonstrate formatting). Thanks!