If(readresult) not working? - C#