- Регистрация
- 01.02.2012
- Сообщения
- 4 812
- Благодарностей
- 1 187
- Баллы
- 113
Not working
Working
C#:
string upVoteAccountPath = project.Directory + @"\Data\" + "Test.txt";
// Check if accounts file exist
bool exist = File.Exists(upVoteAccountPath);
if(exist = false)
{
project.SendInfoToLog("File does not exist", false);
}
Working
C#:
string upVoteAccountPath = project.Directory + @"\Data\" + "Test.txt";
if(!File.Exists(upVoteAccountPath))
{
project.SendInfoToLog("File does not exist", false);
}