How to Get Application Path in C#/CSharp

How to Get Application Path in C#/CSharp

To get application path in C#/CSharp, we make use of GetExecutingAssembly() static method of Assembly class, which resides in System.Reflection namespace.  Example is given below.

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •