[OT] my experience with nullable types (C#)

C# Nullable Fan someone at email.com
Wed Apr 30 08:02:09 UTC 2025


On Wednesday, 30 April 2025 at 07:17:37 UTC, Kagamin wrote:

> If you have a nullable type, all code now sees it as nullable, 
> and you must insert null checks everywhere

That is where null-conditional (?. and ?[]) and the 
null-coalescing (?? and ??==) operators come in handy.

They help to reduce the number of if statements needed.


More information about the Digitalmars-d mailing list