Sinrey
0
Q:

how to make if statement c#

if (/*condition here*/)
{
	//code here
}
1
if (condition)
{
  // block of code to be executed if the condition is True
} 
else if
{
  // block of code to be executed if the condition is True
}
else
{
  // block of code to be executed if none of the other conditions are True 
}
-1

New to Communities?

Join the community