int Day; if(WeekPeriod == "Weekend") { Day = (int)someValue1; // someValue1 is Weekend } else { Day = (int)someValue2; // someValue2 is Weekday }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)