using System;
using System.IO;
public class LeerArchivo
{
public static
void Main()
{
string
FileToRead = @"C:\Users\Diego\Desktop\info.txt";
using (StreamReader
ReaderObject = new StreamReader(FileToRead))
{
string
Line;
while((Line
= ReaderObject.ReadLine()) != null)
{
Console.WriteLine(Line);
}
}
}
}
Comentarios
Publicar un comentario