C# Finding the Desktop Path

The following code is used to find the desktop path in C#...


string dPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);       



You May Interest

C# Finding the Path to the Windows AppData Folder

How to Find the Name of the Operating System in C# ?

C# Finding the Sine of an Angle

C# Getting Today's Date

C# Finding the Path to My Documents Folder