Difference between IF and IIF statement
| IF is called as conditional operator and we can use it both vb.net as well c#.net. Example of IF:- if(i==0)But IIF is the ternary operator, it will take three parameter like expression,true,false. If the expression result is true then it will return TRUE otherwise return FALSE. There is no IIF concept in the c#.net. Example of IIF Statement:-IIF(Expression,true,false) | |
