Answers for "string.join multiple values c#"

2

c# string concatenation

string userName = "<Type your name here>";
string dateString = DateTime.Today.ToShortDateString();

// Use the + and += operators for one-time concatenations.
string str = "Hello " + userName + ". Today is " + dateString + ".";
System.Console.WriteLine(str);

str += " How are you today?";
System.Console.WriteLine(str);
Posted by: Guest on October-14-2020
-1

c# array.join

String Array...
AB
BC
CD
DE
EF
FG
GH
IJ
Result (after joining) = AB*BC*CD*DE*EF*FG*GH*IJ
Posted by: Guest on September-02-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language