Home

Published

- 1 min read

c# conect strings

img of c# conect strings

The solution for this is noted below

c# conect strings

Solution

   string firstName = "John ";
string lastName = "Doe";

string name = firstName + lastName;
string nameJoin = String.Join(firstName, lastName);

Console.WriteLine(name);
Console.WriteLine(nameJoin);

Try other methods by searching on the site. That is if this doesn’t work