.NET & C# ยท C#
How would you handle an interview scenario involving nullable types?
For an optional database field, use a nullable property and handle the missing case explicitly rather than inventing a magic default value.
For an optional database field, use a nullable property and handle the missing case explicitly rather than inventing a magic default value.