I have a condition like this one:
if (string.IsNullOrEmpty(filename) || size != "Large" || size != "Medium" || size != "Small")
Probability in future I will have to manage more size
in the if
statement.
I would like to know if exist a more manageable and readable way to write this condition.
Please provide a real example thanks for your time on this.