2010-09-08 50 views

回答

0

您還可以使用LINQ和Char.IsLetterOrDigit:

bool hasSymbol = myString.Any(!char.IsLetterOrDigit(x));