Posted By : Murugan Andezuthu Dharmaratnam
Posted On : 26 November 2014
Keywords : Append To File, C# .Net Append, ASP .NET Append, Streamwriter append to file

C# .Net Streamwriter Append To File

Append To File


To append to a file, use Enumarator FileMode.Append
FileMode Enumeration Specifies how the operating system should open a file.

Sample Code


FileStream oFileStream = File.Open("C:\\fileName.txt", FileMode.Append)

Murugan Andezuthu Dharmaratnam

Murugan is a technology leader with 14 years of hands-on experience in full life cycle systems design, development, implementation, and management. In addition to systems design and development, his core competencies include cloud design and architecture, interactive web applications and websites development, mobile computing, and Healthcare Information Technology. His experience is very diverse with a broad range of technologies within multiple industry settings including private, public, and non-profit. Coupled with his technology expertise, Murugan is a well-organized, result-oriented, and a highly analytical leader with proven track record in developing and implementing very complex systems.