Click here to Skip to main content
15,881,882 members
Articles / Programming Languages / C#

Insert Text into Existing Files in C#, Without Temp Files or Memory Buffers

Rate me:
Please Sign up or sign in to vote.
4.89/5 (70 votes)
29 Jun 2007CC (ASA 2.5)20 min read 195.1K   2.6K   133  
You don't need to buffer temp data to accomplish a simple text insert.
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
  <Profiles>
    <Profile Name="(Default)" />
  </Profiles>
  <Settings />
</SettingsFile>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Creative Commons Attribution-ShareAlike 2.5 License


Written By
Architect SWC
United States United States
Paul is a Software Architect at SWC Technology Partners, one of Crain’s 20 Best Places To Work for 2012. His coding exploits range from BASIC on a Commodore 64, but now focus on C#, SQL Server and the .NET stack. Paul also maintains the StormFactory ORM Code Generator on SourceForge.net. SWC Technology Partners is always looking for top technical talent; check out how cool it is to work here at http://reimagineyourcareer.com/, and feel free to contact me about positions here.

Comments and Discussions