csharp temporary files

Code Example - csharp temporary files

                
                        // Creates a file and returns the path.
var path = Path.GetTempFileName();
File.WriteAllText(path, "Hello, World!");