StringStringBuilder的异同
string的确是不能修改的:
stringstr="a";
str="b"//str是被赋值了"b"没错,但是str里面原来的string值"a"并没有被修改。
stringstr="a";
stringstr1=str;
str+="b";//此时str="ab",str1="a";
StringBuilderstr=newStringBuilder("a");
StringBuilderstr1=str;
str.Append("b");
str.ToString()和str1.ToString()都是"ab"。
A campus emergency ______ occur at any time of the day or night, weekend, or holiday, with little or no warning.
免费的网站请分享给朋友吧