how to write boolean condition in if statement at csharp

Code Example - how to write boolean condition in if statement at csharp

                
                        if (/*The control or string name*/./*The option of control or string*/ == true) {
  //Do stuff
}