This is my code , but my code seems to be exiting without printing anything onto the console:
string s_Item = "Error 500";
var lines = File.ReadLines("C:/Users/lenovo/Desktop/Probablisitic Automata/data/April/april_steady_state.csv");
foreach (string line in lines)
{
if (line.Contains(s_Item))
{
Console.WriteLine(line);
}
}
I get the following error :
'Read_april_csv.vshost.exe' (CLR v4.0.30319: Read_april_csv.vshost.exe): Loaded 'c:\users\lenovo\documents\visual studio 2015\Projects\Read_april_csv\Read_april_csv\bin\Debug\Read_april_csv.exe'. Symbols loaded. The thread 0x2878 has exited with code 0 (0x0). The thread 0x3ed8 has exited with code 0 (0x0). The program '[13288] Read_april_csv.vshost.exe' has exited with code 0 (0x0).