I need to write contents of a file to another file using File.OpenRead and File.OpenWrite methods. I am unable to figure out how to do it.
How can i modify the follo
Use FileStream class, from System.IO.
FileStream
System.IO
[ComVisibleAttribute(true)] public class FileStream : Stream