In my program I am trying to construct a filename with a path to point to a particular folder where my data is stored. I have something that looks like this:
string directoryPrefix = "C:\Input data\";
string baseFileName = "somefile.bin";
string fileName = directoryPrefix + index + " " + baseFileName;
However the compiler keeps saying that I'm missing a semicolon at the end of the first line. How do I set this up properly so it would work?
Thanks