Okay.
So let's go ahead and see the operators in action.
Therefore let me go ahead and create a new project.
I'm going to create a new console app.
And I'm going to call this one Logic App and click next.
And we're going to use dotnet eight again.
So let's create that.
All right.
So first of all I want to show you a very important data type for a logic.
And that is the bool data type or booleans.
So booleans are variables that can contain either true or false okay.
So in order to create a boolean you need to use the bool keyword.
So now we're creating a boolean variable.
For example is rainy.
So let's say it's rainy is false.
This means that currently it is not rainy.
So it's not raining.
In my case it's just on the edge of maybe raining in a bit, but currently it's not raining.
So is rainy equals false is a true statement.
So it's a correct statement.
So false is basically to a degree untrue okay.
So it means that this is not the case.
And then there is this other bool that would be relevant is gaining.
Now it would be has umbrella.
So if I for example have an umbrella then I don't care if it rains or not I will be fine.
So if it does rain I will get out my umbrella.
I'm going to open it and then I'm fine.
In fact, usually I don't have an umbrella, but today I do.
So now I'm good no matter if it rains or not.
All right.
So yeah, basically, uh, these two statements, they can now be used in order to find out whether
we want to do one thing or whether we want to do the other thing.
So, for example, now that we know that we have an umbrella, let's say it starts raining.
What we want to do is we want to get out our umbrella and we want to make it ready or open it.
I'm not sure how the rate statement would that would be in that case, but basically hold the rain away
from us.
So this is basically the two different values that a bool can have.
It can either be false or it can be true.
In the next video we're going to use those bools in order to make decisions.
So execute code based on those two Bools.
So see you there.