.Net Framework 4.0: System.IO.File supports now IEnumerable<string>(weblogs.asp.net)
submitted by
gpeipman(3145) 2 years, 7 months ago
.Net Framework 4.0 adds also some new and cool features to file system objects. File class has now ReadLines() methods that returns IEnumerable<string>. WriteAllLines() methods has two overload methods that accept IEnumerable<string> instead of strings array that was also supported in previous versions of .Net Framework. This posting introduces ReadLines() and WriteAllLines() methods and gives you some ideas how to use these methods in your applications.
|category: C#
|Views: 11
tags:
C# another
Everyones tags:
Your Tags: