Can I assign 1 or 0 into bool variable?
static void Main(string[] args)
{
bool b = 1;
Console.WriteLine(b);
Console.ReadLine();
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nanddeep NachanPosted Apr 3, 2018, 1:09 AM
Rafnas T PPosted Mar 31, 2018, 3:36 AM
Manav PandyaPosted Mar 30, 2018, 11:21 PM
Hariharan KrishnanPosted Mar 30, 2018, 10:25 PM