Hey all, looking to reduce the code on my c# if statements as there are several repeating factors and was wondering if a trimmer solution is possible.
I currently have 2
if (columnname != a && columnname != b && columnname != c && (columnname != A2 || checkbox.checked)) { "statement 1" }