Home [C# 筆記] 串連運算子(Concatenation Operators)
Post
Cancel

[C# 筆記] 串連運算子(Concatenation Operators)

「串連運算子(Concatenation Operators)」+ 其作用是將多重字串連接成單一的新字串。

1
2
3
//運算子 +
string s;
s = "Hello" + "World"; //HelloWorld
This post is licensed under CC BY 4.0 by the author.