29- Comments


This Visual Basic Tutorial is all about Comments.
In Visual Basic, you often encounter the comment symbol (‘) as you read the code. This symbol tells the compiler to ignore the text following it. Comments are brief explanatory notes added to the code for you to know what the codes tell about.
A brief comment that describes the functionality of the method is a good programming practice. This is for the benefit of the one who examines the code. Comments should separate the implementation details [how the method does it] that describes the function of the method.
Comments can be put in the same line, or occupy an entire line.


Use the comment symbol on each line if your comment requires more than one line.


Readers might read also:




Looking for more source code? Type your keyword here here!


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.