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 Cosine of an Angle

C# Finding the Sine of an Angle

Finding Character Count of String in C#

C# Linq Contains Method

C# Taking Action by MessageBox OK Button