File.ReadLines Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Reads the lines of a file.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticReadLines(String)

Reads the lines of a file.

System_CAPS_pubmethodSystem_CAPS_staticReadLines(String, Encoding)

Read the lines of a file that has a specified encoding.

Return to top
Show: