原创 102-字符串類string更多的方法

關於字符串的更多方法使用這些方法對原字符串是沒有影響的。1,CompareTo()方法,比較字符串的內容string s = "siki";//string是System.String的別名,所以小寫首字母 int res = s.Comp