I am trying to figure out how to read/write to a file without knowing it's exact path. I was using resources and was only reading in the files, but now I need to write to them and there doesn't seem to be an easy way about this. I was looking into dll and using getdirectory, but my directory would change if I debugged and threw the whole thing out of wack. Any help would be appreciated thanks.
my current code is like this:
GetQuestionsAndAnswers(Properties.Resources.CCNA1quiz1);
private void GetQuestionsAndAnswers(string PassedQuiz)
{
string[] lines = PassedQuiz.Split('\n');