Hey guys I was wondering if there was a way to have more than one condition in an IF statement.
Thanks

Ok I found it... You have to use the AND operator "&&"... my bad.

Don't forget that you can also use the OR operator "||" for situations where you only care if one condition is true/false.

if ((fileExt == ".mp4")|| (fileExt ==".mpg") ||(fileExt ==".avi"))
{

}
else
{

}