C# if else if condition with examples. In c# if-else-if statement is useful to validate multiple conditions and execute only one matched condition.