Link to home
Start Free TrialLog in
Avatar of conrad2010
conrad2010

asked on

C# convert to ternary expression

how to convert to ternary expression?

if (SortOrder == "ASC")
            {
                SortOrder = "ASC";
            }
            else
            {
                SortOrder = "DESC";
            }
ASKER CERTIFIED SOLUTION
Avatar of p_davis
p_davis

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial