See @michael-puckett-ii 's answer for a very important Notice on Once your expression bodied member generates a new object (it will eventually produce a new occasion everytime you contact the member) I had exactly the same trouble and in my case I used to be utilizing bool as an alternative https://smartworlddeveloper.co.in/