Read file from root directory folder using filestream
- by SurajSing
There are two Image files in my folder which I have to call in my program. I have used:
AppDomain.curentDomain.baseDirectory + "Path and file name";
But this goes into my bin directory which I don't want; I want to read the folder from root directory where my folder name as resource I have saved my file there and call the image so please what's the code for that?
How do I read from root directory in a Windows Form Application?