I have come across the following code in C#.
if(condition0) statement0; else if(condition1) statement1; else if(condition2) statement2; else if(condition3) state
It's a multi-layered if-else.
The reason it is has to do with c# syntax rules. An else is followed by a statement, and any if chain qualifies as a statement.
else
if