Using Bool
/* * C# Programmers Pocket Consultant * Author: Gregory S. MacBeth * Email: gmacbeth@comporium.net * Create Date: June 27, 2003 * Last Modified Date: * Version: 1 */ using System; namespace Client.Chapter_1___Common_Type_System { public class UsingBoolChapter_1___Common_Type_System { static void Main(string[] args) { bool MyBool = false; if (MyBool) { Console.WriteLine(MyBool); } else { Console.WriteLine(MyBool); } } } }