I need my code to read data from a txt file and write it to a variable from the project resources, please help
var exePath = AppDomain.CurrentDomain.BaseDirectory;
var path = Path.Combine(exePath, "Base\\base.txt");
string contents = File.ReadAllText(path);