What are the best C# (csharp) equivalents for the following VB (VB.NET, VisualBasic) statements:
My.Application.Info.DirectoryPath My.Computer.Clipboard My.Com
From decompiling Microsoft.VisualBasic.dll, the actual code that gets executed when calling My.Application.Info.DirectoryPath is:
My.Application.Info.DirectoryPath
Path.GetDirectoryName( new AssemblyInfo( Assembly.GetEntryAssembly() ?? Assembly.GetCallingAssembly()).Location);