Welcome to WindowsClient.net | Sign in | Join

Articles

Sponsors





  • advertise here

Create, Read, Write, Copy, Move and Delete a Text File using C# and VB.NET

Suprotim Agarwal explores common text file operations using C# and VB.NET. .NET provides various classes, like the File class and FileInfo class, to create, read, and write text files. You can use the Create() method of the File class to create a text file, fr example. You can also use the FileInfo class's CreateText() method to do the same thing. The trick is to know when to use which class and for what purpose.

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 

Page view counter