VB.NET equivalent of C# “As” February 3, 2023 by Tarik It is TryCast: Dim x As String = TryCast(y, String) If x Is Nothing Then ...