C
Chris
Hi guys,
why does this code performs poorly?
static string Space (string s)
{
string s2 = "";
foreach (char c in s)
{
s2 += c;
s2 += " ";
}
return s2;
}
why does this code performs poorly?
static string Space (string s)
{
string s2 = "";
foreach (char c in s)
{
s2 += c;
s2 += " ";
}
return s2;
}