read documment folder text file in c# without define path code example
Example: c# read file current directory
var path = Path.Combine(Directory.GetCurrentDirectory(), "\\fileName.txt");
var path = Path.Combine(Directory.GetCurrentDirectory(), "\\fileName.txt");