cancel
Showing results for 
Search instead for 
Did you mean: 

Coding standards

I have been reviewing the api and sample code and was hoping you could share your coding standards?  I see were classes and public properties  have lower case for the first character which conflicts with the standards I have been familiar. Also, see where parameters start with upper case.   It makes it difficult to follow at times.  

If you could share your standards, it may help.  

Thank you.

Randy Kroeger

kroegerr
Member
2 REPLIES 2

This is a tricky question, because coding standards are subjective. There are many different recommended coding styles, and a lot of people follow different rules. Ours is not necessarily the best one, but it seems to be the one that most similar to the standards you have known.

Theo444
Member

Forgive me, but here are the standards I have been most familiar.  It is unfortunate that they have been more subjective.  It does make it more difficult to read across different code bases.  A good source that I have always looked at is a book called: Code Complete.  

https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions

Thank you for your response.  This helped me. 

kroegerr
Member