المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : get relative path



C# Programming
02-16-2011, 03:04 PM
Hello

I want to set a streamreader to read from some stream source (file)
if i put the file in the root directory (bin/Debug/fileName) works fine.
but what if i put the file in some folder within the debug folder (bin/Debug/SomeFolder/fileName) how i can declare the path in this case ?

Thanks