I'm sorry if asked before...if so, I did not find it.
I was reading A Shortcut for c# null and Any() checks and I saw the accepted answer. I understand the answer, although most people use x.Items?.Any() ?? false.
My question is: How to do this is VB.NET
Could I just simply write
If x.Items?.Any() Then
or do I need
If x.Items?.Any() = True Then
While if (x.Items?.Any()) does not compile in C#, they both do in VB...but that doesn't always mean they are both correct :-)