Imports System
Imports System.Data
Imports System.Collections
public class MainClass
Shared Sub Main()
Dim A As String
Dim B As String
A = "Hello"
B = "Hel" + "lo"
console.WriteLine(A = B)
console.WriteLine(A Is B)
Mid(A, 1, 1) = "X"
Mid(B, 1, 1) = "X"
console.WriteLine(A = B)
console.WriteLine(A Is B)
console.WriteLine(A)
End Sub
End Class
|