I found the following in code I inherited.
MainClass.Logger.LogEvent(this, new BCIDEventArgs(new BCIDEvent(BCIDDEventLevel.Info, Core.Instance.UserName, null, null, log.MessageText ?? string.Empty)
));
What is the function of ?? in log.MessageText ?? string.Empty ??
I don't find that listed in the operator section of Inside C#. Is this perhaps new to 2008?
MainClass.Logger.LogEvent(this, new BCIDEventArgs(new BCIDEvent(BCIDDEventLevel.Info, Core.Instance.UserName, null, null, log.MessageText ?? string.Empty)
));
What is the function of ?? in log.MessageText ?? string.Empty ??
I don't find that listed in the operator section of Inside C#. Is this perhaps new to 2008?