change int to boolean c# code example Example: int to bool c# int i = 0; bool b = Convert.ToBoolean(i);