+ 1
My question is I declare my name and i see in output using string?
3 ответов
+ 1
Nayem thnxs
0
string name="Abdullah al faruk";
Console.WriteLine (name);
0
string can also be assigned to each other or appended together using the + operator :
example:-
string my_string1 ="My Name is";
string my_string2 ="Md Nayem";
string my_string3 =my_string1+my_string2;
// Will output "My Name is Md Nayem"
cout<<my_string3<<endl;