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

C# Getting Today's Date

C# Finding Cosine of an Angle

Splitting a String By Desired Character in C#

C# Substring Method