I think that use a stringbuilder is better than send line per line.