6. C# - IF/THEN/ELSE

 SYNTAX:

if (condition)

{

do something

}

else if (condition)

{

do something

}

else

{

do something

}


Inline IF (Short IF)

(condition) ? valueIfTRUE : valueIfFALSE;

// returns the true or false values depending on the condition

Comments

Popular posts from this blog

20. Data Analytics - Analyze Data to Answer Questions - Week 1

2. FreeCodeCamp - Dynamic Programming - Learn to Solve Algorithmic Problems & Coding Challenges

5. SQL Injection - Blind SQL Injection