Mega Code Archive

 
Categories / C# by API / System
 

Boolean Parse(String value)

using System; class MainClass {     public static void Main(string[] args)     {     bool myBool = bool.Parse("True");     Console.WriteLine("-> Value of myBool: {0}", myBool);     } }