11 Sept 2015

How to read text file to string using c#.net

string contents = File.ReadAllText(@"C:\file.txt");

No comments:

Post a Comment

Please give your valuable feedback on this post. You can submit any ASP.NET article here. We will post that article in this website by your name.