how to find opposite of a bollean c# code example Example: opposite bool c# threadAlive = !threadAlive;