К основному контенту

Check if object is null in VB

To check if object is null we have such construction in C#:
if (object == null){
// TODO: ...
}
In VB it is different, it should be:
If object Is Nothing Then
' TODO: ...
End If

Комментарии

Популярные сообщения из этого блога