
19/03/2011, 21:09
|
 | | | Fecha de Ingreso: marzo-2011
Mensajes: 2
Antigüedad: 14 años Puntos: 0 | |
Respuesta: Stream Reader Intenta con este código:
using (StreamReader sr = new StreamReader("TestFile.txt"))
{
String line;
String cadena;
while ((line = sr.ReadLine()) != null)
{
cadena = lne;
}
return cadena;
} |