I have a scenario where in order to assign a value to a variable I need to check more than 1 condition, is it possible to chain the conditions.
Below is just a sample format how my code looks
Result = (isUser == true && (ResultId == 1 || ResultId == 2 )) ? "Pass" : r.Result,
If condition (isUser == true && (ResultId == 1 || ResultId == 2 )) is met then I am saying Result = "Pass" else I am assigning value from r.Result.
In the same way I want to check another condition (isUser == True && (ResultId == 5)) then I want to say Result = "Absent"