 ?= otherwiseValue;

is equivalent to

if (variable is null) variable = otherwiseValue;


C# inherits most of the control structures of C/C++ and also adds new ones like the statement.These structures control the flow of the program through given conditions.The statement is entered when the given condition is true.