L
Luis Arvayo
Hi,
How do I compare if two variables are the same instance of a class ?
Example
dim instance1 = New MyClass
....
dim instance2 = instance1
.... or
dim instance2 = New MyClass
.....
'Now compare if the two instance are the same
If instance1 = instance2 Then
....
End If
The above syntax does not compile.
Thanks In Advance
Luis
How do I compare if two variables are the same instance of a class ?
Example
dim instance1 = New MyClass
....
dim instance2 = instance1
.... or
dim instance2 = New MyClass
.....
'Now compare if the two instance are the same
If instance1 = instance2 Then
....
End If
The above syntax does not compile.
Thanks In Advance
Luis