0

Can i use a 2 string to perfom and addition of their values?

4th May 2016, 2:54 AM
Orlando Rodriguez
Orlando Rodriguez - avatar
5 Respostas
+ 3
yes, exist the concat method: string s1="hello"; string s2="world"; string s3=""; s3=string.Concat(s1,s2);
15th Jun 2016, 6:00 PM
Tommaso
+ 1
Yes, that is called concatenation. For example: string s1 = "Hello "; string s2 = "World"; Console.Write(s1+s2);
19th May 2016, 2:24 PM
James Flanders
0
yes
14th Jun 2016, 4:58 AM
Priyanka de
0
string a = "z"; string b = "q"; string c = ""; c = a + b; //c = "zq"
22nd Jun 2016, 9:07 AM
I.A.Sebsil83
I.A.Sebsil83 - avatar
0
yes
24th Jun 2016, 5:15 PM
ashok
ashok - avatar