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# How To Find The Average Of 10 Numbers Using A While Loop

C# Finding the Sine of an Angle

C# Reverse Array

C# Generating Random Letters