var status = 4;
var state = status == 1 ? "a" : (status == 2 ? "b" : (status == 3 ? "c" : (status == 4 ? "d" : "结束")));
Console.WriteLine(state);
Console.ReadKey();
var status = 4;
var state = status == 1 ? "a" : (status == 2 ? "b" : (status == 3 ? "c" : (status == 4 ? "d" : "结束")));
Console.WriteLine(state);
Console.ReadKey();