P
Philipp Brune
Hello Newsgroup,
in c# there exists the '??' operator.
It is used like this :
string s1 = null;
string s2 = s1 ?? "(undefined)"
And does the following (simplified) :
if(s1 == null)
s2 = "(undefined)"
else
s2 = s1
Is there an equivalent operator in Visual Basic.Net, and if so, how is
it called ?
Thanks in advance
Philipp
in c# there exists the '??' operator.
It is used like this :
string s1 = null;
string s2 = s1 ?? "(undefined)"
And does the following (simplified) :
if(s1 == null)
s2 = "(undefined)"
else
s2 = s1
Is there an equivalent operator in Visual Basic.Net, and if so, how is
it called ?
Thanks in advance
Philipp