I'm getting this error when I try to open the file.The file path does exist i copied from the explorer to make sure there was no error in the path string.
System.IO.FileNotFoundException: Could not find file "/C:\Users\Mario\Documents\ativita\ativita\produtos_20180713.CSV"
List <banco_produtos> csv = File.ReadAllLines(Path.GetDirectoryName("C:\\Users\\Mario\\Documents\\ativita\\ativita\\produtos_20180713.CSV"))
.Skip(1)
.Select(c => c.Split(','))
.Select(x => new //there some code here
})