SyntaxFix
Write A Post
Hire A Developer
Questions
The default value is indeed false.
However you can't use a local variable is it's not been assigned first.
You can use the default keyword to verify:
bool foo = default(bool); if (!foo) { Console.WriteLine("Default is false"); }