EDIT: @KiwiBastard's answer is the correct method:
System.AppDomain.CurrentDomain.BaseDirectory
Add a link to System.Reflection and use
Assembly.GetExecutingAssembly().Location
EDIT: depending on where you are going to get the start path, this might be more appropriate:
Assembly.GetEntryAssembly().Location
source share