StringBuilder sb = new StringBuilder(); sb.Append(\"Line 1\"); //insert new line character //insert tab character sb.Append(\"Line 2\"); using (StreamWriter sw = new
StringBuilder SqlScript = new StringBuilder(); foreach (var file in lstScripts) { var input = File.ReadAllText(file.FilePath); SqlScript.AppendFormat(input, Environment.NewLine); }
http://afzal-gujrat.blogspot.com/