29. Comments

This tutorial will show you how to use comments in Visual Basic .NET to make your code more understandable when you look back at it.

Code

Public Class Form1
    '===============================================
    'This button will message the user with "hello"=
    '===============================================
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        MessageBox.Show("hello")
    End Sub
End Class