how to convert an int to a bool in c# code example Example: int to bool c# int i = 0; bool b = Convert.ToBoolean(i);