String 类C#中的IndexOf方法区分大小写。但是,您可以使用CompareInto类使其对大小写不敏感。 代码如下: string firstString = "What a d.
確定! 回上一頁