null coalesce operator in VB.Net(8)
问题 i'm afraid that this is a stupid question, but i must assume that i have programmed VB.Net too long and now can't figure out how to convert this C# null coalescing operator into VB.Net: if( Convert.ToBoolean(ViewState[tp.UniqueID + "_Display"] ?? true) == false ){} I know the IIF-Function but i'm not sure how to use it here and if it gives the correct result(in IIF both expressions are being evaluated). Please help to shed light on the dark. EDIT : if you want to see the source of this: