C#
Working with paths in C#
Time and time again when working with code that involves operations with the file system a developer may write something like var path = @"C:\Temp"; var file = @"file.txt"; var pathToFile = path + "\\" + file; // pathToFile = "C:\\Temp\\file.txt" In an ideal world