var x = y as String;if (x == null) ...
in VB you do this :
Dim x As String = TryCast(y, String)If x Is Nothing Then ...meaning "as" = "TryCast"
Dim x As String = TryCast(y, String)If x Is Nothing Then ...
meaning "as" = "TryCast"
Post a Comment
No comments:
Post a Comment