Let's talk about naming conventions for Boolean values.
Let's create a private bool here and let's call it has errors equals to false or something like private
bool is valid equals to true.
Now please notice that for Boolean values.
So for example for properties, for fields, for parameters for methods and so on you always want to
use has or is.
So something that you could answer with true or false.
Has errors.
No.
Has no errors.
False is valid.
Yes it is valid.
So true right.
Always keep that in mind.
And again it's the same case that you want to use.
So those are two private fields.
So we want to use the camel case here if we would create a method instead.
So let me just get rid of that public bool is valid.
It's written in Pascal case again.
So you want to use it that way is valid.
And then we return true here for example.
Or if we would create a property prop and we want to use a bool here and we say has errors.
Again we use has or is and we use the Pascal case here because it is a public property.
So for Boolean values you want to use is or has.