Some Standards to write comments in C Sharp & SQL Coding
As we all are using C# and SQL coding language in our daily programming task but then also we all are not following some coding standards while using the programming language.
Today, in this article we are going to learn about the Comments standard while programming. Yes, if you are working in a team on some big project where more than 1 or 2 team members are working simultaneously or you want to work on some project professionally then there are some basics comments standard is there in programming to help the other person to understand your coding easily.
1. Two Lines comments
2. Three Line comments
1. Two Lines comments :
Two lines comments are used to declare a global information for whole project, like the Author of the project who has designed whole structure planning, second one who has created all this coding or working on the coding. After that the description of the whole project where you get the short summary in which you were working and many more information as shown in the image.
2. Three Line comments :
Three lines comments are used to declare the variable you have used in the coding or you can say summary of your coding in a simple words as shown in the image.