Jump to content


Check out our Community Blogs

CoolCoder

Member Since 29 Oct 2012
Offline Last Active Feb 08 2013 04:12 AM
-----

Posts I've Made

In Topic: C# Tutorial: Writing Text Files

08 February 2013 - 03:50 AM

You only need to change one line with respect to memory.

Replace this:

StreamWriter sw = new StreamWriter(path)

 

using(StreamWriter sw = new StreamWriter(path))


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download