Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • C#

Idiom #289 Concatenate two strings

Create the string s by concatenating the strings a and b.

string s = String.Concat(a,b);

a and b must not be null
string s = a + b;
S : constant String := A & B;

New implementation...