Skip to main content
Code sample in Swift, C# and Java
Main menu
About
History
Swift
C#
Java
Python
You are here
Home
»
Forums
»
C#
»
C#: Work with simple types
»
C#: Work with bool (Boolean)
Converting bool to a string in C#
Submitted by
obraztsov
on Thu, 12/03/2015 - 11:56
Forums:
C#: Work with bool (Boolean)
var
sunIsStar =
true
;
var
str = sunIsStar.ToString();
//str is "True"
Log in
to post comments