As far as I know there is not a significantly more elegant way to write the following....
string src; if((ParentContent!= null) &&am
We considered it for C# 4 but did not have the budget. It's a nice feature that a lot of people request, so perhaps we'll get it into a future hypothetical language version. No promises.