c# declare in if statement code example Example: how to make if statement c# if (/*condition here*/) { //code here }