Microsoft
Microsoft Logo

Add logic to C# console applications (Get started with C# Part 3) 

  • Offered byMicrosoft

Add logic to C# console applications (Get started with C# Part 3)
 at 
Microsoft 
Overview

Duration

6 hours

Total fee

Free

Mode of learning

Online

Schedule type

Self paced

Difficulty level

Beginner

Official Website

Explore Free Course External Link Icon

Credential

Certificate

Add logic to C# console applications (Get started with C# Part 3)
Table of content
Accordion Icon V3
  • Overview
  • Course Details
  • Curriculum
  • Entry Requirements
Details Icon

Add logic to C# console applications (Get started with C# Part 3)
 at 
Microsoft 
Course details

Skills you will learn
What are the course deliverables?
  • Evaluate Boolean expressions to make decisions in C#
  • Control variable scope and logic using code blocks in C#
  • Branch the flow of code using the switch-case construct in C#
  • Iterate through a code block using for statement in C#
  • Add looping logic to your code using the do-while and while statements in C#
  • Guided project - Develop conditional branching and looping structures in C#
  • Challenge project - Develop branching and looping structures in C#
More about this course
  • Examine the relationship between code blocks and variable scope, and deepen your C# coding experience with Boolean expressions, selection statements, and iteration statements

Add logic to C# console applications (Get started with C# Part 3)
 at 
Microsoft 
Curriculum

Evaluate Boolean expressions to make decisions in C#

Introduction

Exercise - Evaluate an expression

Exercise - Implement the conditional operator

Exercise - Complete a challenge activity using conditional operators

Review the solution to the conditional operator challenge activity

Exercise - Complete a challenge activity using Boolean expressions

Review the solution to the Boolean expressions challenge activity

Knowledge check

Summary

Control variable scope and logic using code blocks in C#

Introduction

Exercise - Code blocks and variable scope

Exercise - Remove code blocks from if statements

Exercise - Complete a challenge activity using variable scope

Review the solution to the variable scope challenge activity

Knowledge check

Summary

Branch the flow of code using the switch-case construct in C#

Introduction

Exercise - Implement a switch statement

Exercise - Complete a challenge activity using switch statements

Review the solution to the switch statement challenge activity

Knowledge check

Summary

Iterate through a code block using for statement in C#

Introduction

Exercise - Create and configure for iteration loops

Exercise - Complete a challenge activity using for and if statements

Review the solution to the for and if statement challenge activity

Knowledge check

Summary

Add looping logic to your code using the do-while and while statements in C#

Introduction

Exercise - Create do and while iteration loops

Exercise - Complete a challenge activity using do and while iteration statements

Review the solution to do and while challenge activity

Exercise - Complete a challenge activity to differentiate between do and while iteration statements

Review the solution to do versus while challenge activity

Knowledge check

Summary

Guided project - Develop conditional branching and looping structures in C#

Introduction

Prepare

Exercise - Build sample data and menu selection loops

Exercise - Write code to display all ourAnimals array data

Exercise - Build and test a loop for entering new pet data

Exercise - Write code to read and save new ourAnimals array data

Knowledge check

Summary

Challenge project - Develop branching and looping structures in C#

Introduction

Prepare

Exercise - Ensure that petAge and petPhysicalDescription contain valid information

Exercise - Ensure that pet nicknames and personality descriptions are complete

Knowledge check

Summary

Add logic to C# console applications (Get started with C# Part 3)
 at 
Microsoft 
Entry Requirements

Eligibility criteriaUp Arrow Icon
Conditional OfferUp Arrow Icon
  • Not mentioned

Other courses offered by Microsoft

Free
1 hours
Beginner
Free
3 hours
Intermediate
Free
14 hours
Beginner
Free
2 hours
Intermediate
View Other 1171 CoursesRight Arrow Icon
qna

Add logic to C# console applications (Get started with C# Part 3)
 at 
Microsoft 

Student Forum

chatAnything you would want to ask experts?
Write here...