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# Getting Last Character of String

C# How To Find The Average Of 10 Numbers Using A While Loop

C# Finding the Path to the Windows AppData Folder

C# Finding the Sine of an Angle

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