string z="无"
for (int y = 0; y < x.Length; y++)
{
if (x[y] == 5)
{
z = "有";
break;
}
}
Console.WriteLine(z);
for (int y = 0; y < x.Length; y++)
{
if (x[y] == 5)
{
z = "有";
break;
}
}
Console.WriteLine(z);
2017-09-29