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

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

Finding Character Count of String in C#

C# Generating Random Letters

C# Reverse Array

C# Example of Sum of Even Numbers from 1 to 100