What's the difference between it:
And it:VB Code:
Public Class Form1 Inherits System.Windows.Forms.Form Dim myVar As String = "Some text" 'Variable declaration here Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MsgBox(myVar) End Sub End Class
?VB Code:
Public Class Form1 Inherits System.Windows.Forms.Form Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim myVar As String = "Some text" 'Variable declaration here MsgBox(myVar) End Sub End Class
Thanks.




Reply With Quote