As you can see in my code I included System.Diagnostics. The purpose of this program is to get the current process and output it to the console. I am trying to access Process.GetCurrentProcess on line 14 . Also, as you can see, I can only access Process.Program . Why is it that I can't use:
Process.GetCurrentProcess(); and all of the other functions of the Process Class.