C# equivalent of the IsNull() function in SQL Server December 20, 2022 by Tarik It’s called the null coalescing (??) operator: myNewValue = myValue ?? new MyValue();