During coding, if you want to reference another file, such as configuration file, text file or XML file that is located on the same location where your binary/library is you can use the following:''
string location = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
Have fun coding :)