Nested else if | help
Hi, im new to C# and am a bit confused. What is the difference between a
if statsment with a nested if-else
and a
if-elif-else structure?
5 Replies
if you mean
vs
?
then nothing, really, assuming you are only putting code in the true paths for each
right ok that i thought so
the first one gives you a place for code to run if condition1 is false but you haven't checked condition2 yet, that's it