Booleans may seem harmless, but using them can be fraught with peril. When you can’t avoid them, follow these five rules. Booleans are deceptively simple. They look harmless—just true or false, right?
Take advantage of nullable types to assign 'no values' or 'null values' to value types when there is no value available The C# language provides support for two types of data: value types and ...