[Solved] c#: (True==True) returning False [closed]
I can see two possibilities: useaction.Postcondition[goalneeds] and current[goalneeds] return something other than a bool. They return an object of a class that has a ToString() method which sometimes returns the string “True”. The specific objects returned in your case both generate “True” but are not the same object, so == is false (or the type … Read more