I have a Setting.setting have a setting option : isSent - type int - value : 0
And my code :
if (Settings.Default.isSent =! 0)
{
var info = _text.ReadFile(Settings.Default.FilePath);
//Do something
} else
{
//Do something
}
I install my Windows Service, start and attach it to Visual to debug, and it always run to
var info = _text.ReadFile(Settings.Default.FilePath);
But not run to
} else
{
//Do something
}
like I expect :(
Anyone can explain it and know how to solve this for me ? Appreciate any answer :)