Greg Chu Technical History
Monday, January 27, 2014
C# read last line of text file
string sLast = File.ReadLines(@"e:\file.txt").Last();
you need to have
using System.Linq;
also dot net frame work 4
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment