Monday, March 18, 2013

Read file content with File reader

 using (StreamReader stream = File.OpenText(PathOfFile))
            {
                string fileContentsDatas = stream.ReadToEnd();
}

No comments:

Post a Comment