Quali sono i pro / contro (se ce ne sono) da usare
string output;
int i = 10;
output = string.Format("the int is {0}", i);
vs
string output;
int i = 10;
output = "the int is " + i;
Ho sempre utilizzato l'ultimo esempio, ma sembra che...
posta
26.01.2012 - 17:41