how to relative reference text file asp.net code example
Example: c# read file current directory
var path = Path.Combine(Directory.GetCurrentDirectory(), "\\fileName.txt");
var path = Path.Combine(Directory.GetCurrentDirectory(), "\\fileName.txt");