string Path =
AppDomain.CurrentDomain.BaseDirectory + "//" + "Libro1.csv";
using (var reader = new StreamReader(Path))
{
while (!reader.EndOfStream)//recorrido
fisico de lineas, no uso de memoria
{
var line = reader.ReadLine();
Console.WriteLine(line);
}
}
Console.WriteLine("Fin");
No hay comentarios:
Publicar un comentario