In this blog article we will discuss how to comments in VB and C# Code? So let's start In VB code, a single quote or apostrophe ( ' ) indicates that the remainder of the line is to be ignored as a comment, while in C# code, two slashes ( // ) achieve the same end.
Visual Basic Comment
'set the label text to the current time
//set the label text to the current time
C# code also lets us span a comment over multiple lines if we begin it with /* and end it with */ , as in this example:
/*set the label text to the current time */
Hope you like this articles. Please give suggestion in below comments.