using System; public class myExample { public static void Main(){ bool boolVal = true; string strBool = boolVal.ToString(); Console.WriteLine(strBool); } }
boolVar.ToString()