Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Answers
Boolean value ....
harish reddy
6y
160
1
Reply
int z = 10005;
bool a = Convert.ToBoolean(z);
Console.WriteLine(a);
Above code is giving output as :True . Pls explain why?
If i want as "False" what should i do?
I get usually confused with boolean data type or if any boolean is used in the program.
Pls explain easily for c sharp
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Accessing data in console application run as scheduled task
how can i implement gps tracking device