how can I copy files from folder to another when by using c#?
+7
A:
Here is a good example from MSDN:
How to: Copy, Delete, and Move Files and Folders (C# Programming Guide)
Mr.Expert
2010-05-23 10:32:34
+1 For the best way for the asker to learn - Also, welcome to SO:)
Nick Craver
2010-05-23 10:34:19
+2
A:
The System.IO.File, System.IO.Directory, System.IO.FileInfo classes "Mr.Expert" suggested above are fine for copying and deleting individual files.
But if you are deleting/copying large number of files you are probably better off using an alternative method see this question I asked previous..
The System.IO.Directory.GetFiles can cause a performance issue when dealing with large number of files.
Aim Kai
2010-05-23 10:36:50