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# Example of Sum of Even Numbers from 1 to 100

C# Non-Restart Check If Application is Open

C# Getting Last Character of String

C# Substring Method

C# Reverse Array