if statement in csharp code example
Example 1: how to make if statement c#
if (/*condition here*/)
{
//code here
}
Example 2: if statement c#
if (condition)
{
print("Yes");
}
else
{
print("No");
}
if (/*condition here*/)
{
//code here
}
if (condition)
{
print("Yes");
}
else
{
print("No");
}