Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Booleans | Dealing with Data Types
course content

Зміст курсу

C# Basics

BooleansBooleans

Boolean data type represents two logical values true and false. The keyword bool can be used to create a Boolean variable:

cs

main.cs

Logical values are used especially where we want to execute a piece of code based on a specific condition. We will learn more about conditional statements in the next section.

What will be the output of the following program?

Виберіть правильну відповідь

Все було зрозуміло?

Секція 2. Розділ 4
course content

Зміст курсу

C# Basics

BooleansBooleans

Boolean data type represents two logical values true and false. The keyword bool can be used to create a Boolean variable:

cs

main.cs

Logical values are used especially where we want to execute a piece of code based on a specific condition. We will learn more about conditional statements in the next section.

What will be the output of the following program?

Виберіть правильну відповідь

Все було зрозуміло?

Секція 2. Розділ 4
some-alt