c# select case

icon


//요일구하기
public static string GetDay(string FLI_DAY)
{
string tempGetDay = string.Empty;

switch (FLI_DAY)
{
case "MO":
tempGetDay = "월";
break;
case "TU":
tempGetDay = "화";
break;
case "WE":
tempGetDay = "수";
break;
case "TH":
tempGetDay = "목";
break;
case "FR":
tempGetDay = "금";
break;
case "SA":
tempGetDay = "토";
break;
case "SU":
tempGetDay = "일";
break;
default:
tempGetDay = "";
break;
}

return tempGetDay;

}