ReadAllLines(FileInfo, Encoding) Method

Opens a file, reads all lines of the file with the specified encoding, and then closes the file.
Namespace: Z.IO.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static String[] ReadAllLines(this FileInfo this, Encoding encoding)

Parameters

this
Type:  FileInfo
The file to open for reading.
encoding
Type:  Encoding
The encoding applied to the contents of the file.

Return Value

Type:  String[]
Powered by ZZZ Projects .NET Documentation Generator 0.0.2 (Alpha)