Die Methode StreamReader.ReadLine() in C# liest eine Zeile des Textes aus dem angegebenen Stream und gibt sie als String zurück. Diese Methode liest Zeichenfolgen bis zum Auftreten eines Zeilenumbruchs oder des Endes des Streams. Anschließend wird die gelesene Zeichenfolge ohne den Zeilenumbruch zurückgegeben. Wenn der Stream leer ist, wird null zurückgegeben. Diese Methode ist besonders nützlich, wenn man Textdateien zeilenweise auslesen möchte.
C# (CSharp) System.IO.StreamReader.readLine - 1 Beispiele gefunden. Dies sind die am besten bewerteten C# (CSharp) Beispiele für die System.IO.StreamReader.readLine, die aus Open Source-Projekten extrahiert wurden. Sie können Beispiele bewerten, um die Qualität der Beispiele zu verbessern.