|M| 谁帮我简写这一段string代码
string ticketCount1; //成人票数量
string ticketCount2; //成人票数量
string ticketCount3; //成人票数量
string ticketCount4; //成人票数量
string ticketCount5; //成人票数量
if (dr[ "TicketCount "].ToString() != "1 ")
{
ticketCount1 = "NFILL ";
}
else
{
ticketCount1 = "FILL ";
}
if (dr[ "TicketCount "].ToString() != "2 ")
{
ticketCount2 = "NFILL ";
}
else
{
ticketCount2 = "FILL ";
}
if (dr[ "TicketCount "].ToString() != "3 ")