What is the C# syntax to retrieve the user's desktop, documents folder and other system folders on Windows?
You can use Environment.GetFolderPath with the Environment.SpecialFolder enumeration. For example:
string desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);