E.R. Aliyev, D.B. Gakh, Kh.Kh. Abdullayev
Implementation of three-state logic using the specialized SmartBool structure in the C# programming language
The standard logical type in the C# programming language has only two states — "true" and "false". However, this is not enough in some situations. The authors describe the development and practical experience of using a logical type with the three states "true", "false" and "unknown" — the so-called ternary logic.
Keywords: Ternary logic, C# programming language
Implementation of three-state logic using the specialized SmartBool structure in the C# programming language
The standard logical type in the C# programming language has only two states — "true" and "false". However, this is not enough in some situations. The authors describe the development and practical experience of using a logical type with the three states "true", "false" and "unknown" — the so-called ternary logic.
Keywords: Ternary logic, C# programming language