using a C# if statement in script code example
Example 1: conditional if statement c# programming
is this condition true ? yes : no
Example 2: if statement c#
if (condition)
{
print("Yes");
}
else
{
print("No");
}
is this condition true ? yes : no
if (condition)
{
print("Yes");
}
else
{
print("No");
}