bool a = System.Convert.ToBoolean("true"); // Returns true bool b = System.Convert.ToBoolean(1); // Returns true bool c = System.Convert.ToBoolean(null); // Returns falseIn the first example, the string "true" is passed into the GetBoolean method, which returns a Boolean value of true. In the second example, the integer value of 1 is passed in, which is also converted to a Boolean value of true. In the third example, null is passed in, which is converted to a Boolean value of false. The package library for the System namespace is part of the .NET Framework, which is a software framework developed by Microsoft that runs on Microsoft Windows.