(=) VB.NET. , . , , . , , :
Dim x As Integer = 1
Dim y As Integer = 2
Dim z As Integer = x = y
, , , #, x, y z 2. VB . :
If x = y Then
z = True
Else
z = False
End If
, . Option Strict On ( ), . , , , :
z = CInt(x = y)
, , , VB.NET. , , , , Option Strict. , :
Dim temp1 As Boolean = (label3 = label) ' Evaluates to False
Dim temp2 As Boolean = (Me.demandas2.Item(temp1) = (dictionary.Item(label3) - 1)) ' Likely evaluates to False
dictionary = temp2 ' Couldn't possibly be a valid assignment