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 System32 Folder

C# Taking Action by MessageBox OK Button

Splitting a String By Desired Character in C#

C# Finding the Path to the Windows AppData Folder

C# Generating Random Letters