What is the equivalent in VB.NET of the C# As keyword, as in the following?
var x = y as String; if (x == null) ...
It is TryCast:
Dim x As String = TryCast(y, String) If x Is Nothing Then ...
1.4m articles
1.4m replys
5 comments
57.0k users