In SQL Server you can use the IsNull() function to check if a value is null, and if it is, return another value. Now I am wondering if there is anything similar
IsNull()
It's called the null coalescing (??) operator:
??
myNewValue = myValue ?? new MyValue();