Pretty simple scenario. I have a web service that receives a byte array that is to be saved as a particular file type on disk. What is the most efficient way to do this in C#?>
System.IO.File.WriteAllBytes(path, data) should do fine.
System.IO.File.WriteAllBytes(path, data)