Is there a ?:
operator equivalent in .net?
eg in java I can do:
retParts[0] = (emailParts.length > 0) ? emailParts[0] : "";
rather than
if (emailParts.length > 0) {
retParts[0] = emailParts[0];
} else {
retParts[0] = "";
}
I'd like to be able to do similar in VB.NET.