introductory-examples/simple-types/ex1.cs - Demonstrations of the simple type bool in C#. | Lecture 2 - slide 7 : 43 Program 1 |
using System; class BoolDemo{ public static void Main(){ bool b1, b2; b1 = true; b2 = default(bool); Console.WriteLine("The value of b2 is {0}", b2); // False } }