What are the best C# (csharp) equivalents for the following VB (VB.NET, VisualBasic) statements:
My.Application.Info.DirectoryPath My.Computer.Clipboard My.Com
System.IO.Directory.GetParent(Application.ExecutablePath)
is exactly the same as:
My.Application.Info.DirectoryPath
If you only do:
Application.ExecutablePath
You will get the executing file appended to the path, which may not be useful at all.