My question is the same as the title: how do I create a variable that points to the Content folder?
I have a file there and I want to access it. I tried this way, but without success:
StreamReader file =
new StreamReader(@"~/Content/tb_ocupacao.txt", Encoding.GetEncoding("iso-8859-1"));