Possible Duplicate:
What do two question marks together mean in C#?
Is this a new feature added to C# 3.x ?
e.g
public class HttpRequests
{
public string GetHtmlContent(this HttpRequest myRequest)
{
//do something
return retStr ?? (retStr=new GetHtmlStr(urlStr));
}
}
The this and ?? are strange to me since I have not updated my know of C# for years. I know C# 2.x.
For conditional if and return value i.e
return a == 0 ? a:b;
yes I can understand what this is. Could someone please explain ?