C#C
C#2y ago
22 replies
Salty

WriteLine happening after Readline, why?

 if (!file[i].Contains("Breakthrough pressure") & headerLine == 1 & dataStop == 0 & i - 2 > header_i)
            {
                //Console.WriteLine("found");
                sw.WriteLine(Regex.Replace(file[i].Trim(), @"\s+", ","));
                var plot_x = Regex.Replace(file[i].Trim(), @"\s+", ",").Split(",");

                string ok = plot_x[0];
                Console.WriteLine(ok);
                Console.ReadLine();
Was this page helpful?