How to check if string is nothing in VB.NET

1 Answer

0 votes
Imports System
				
Public Module Module1
	Public Sub Main()
		Dim str As String = Nothing

		Console.WriteLine(String.IsNullOrEmpty(str))
	End Sub
End Module




' run:
'
' True
'

 



answered Nov 2, 2022 by avibootz
...