for example, how can i copy file to c:/ from my resources file ?
i found similiar question in: What is the file path, as a string, of a file in the application's resources? but it says “Error 2 Argument 2: cannot convert from ‘byte[]’ to ‘string'”
here is my current code, which is failed:
System.IO.File.Copy("C:\\", ctest.Properties.Resources.test);
test is the file.
For binary file:
For text file:
For image resource: