Sunday, 22 July 2012

comment line in vb.net

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

Commented 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