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 Folder

C# Generating Random Letters

C# Finding Cosine of an Angle

C# Non-Restart Check If Application is Open

C# Substring Method