C# Coding Standards and Guidelines: Naming Conversions and Style
1) Use Pascal casing for type and method and constants.
public class SomeClass
{
const int DefaultSize= 100;
public SomeMethod ()
{}
}
C# Coding Standards and Guidelines: Naming Conversions and Style
1) Use Pascal casing for type and method and constants.
public class SomeClass
{
const int DefaultSize= 100;
public SomeMethod ()
{}
}
Importance of Coding Standards for .NET Development
While coding, is necessary to follows guideline or criterion of coding standard? We have a problem and we are going to write code for that. We are getting what we want then what is the need of terms like coding standard? Are they really useful? In this article we are going to find out answers of our questions…
A coding standard is a set of guidelines, rules and regulations on how to write code which will help programmers/developer quickly read and understand source code conforming to the style as well as helping to avoid introducing faults and misunderstanding.
Coding standards are important because they provide greater consistency and uniformity in writing code between programmers. This ultimately leads to the code that is easier to understand and maintain which reduces the overall cost of the project.