Null-coalescing operator in C#

gpeipman
19.9K views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Null-coalescing operator

Null-coalescing operator (??) is convenient shortcut to return some other value when variable or expression is null.

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content