Is there in X# a null-coalescing operator as in C# the ??
Code: Select all
return source ?? String.Empty;
Is in X#
Code: Select all
iif(source==String.Empty,"is empty","is not empty")
Code: Select all
source == String.Empty ? "is empty" : "is not empty"