Controlling Program Flow in C# 9
C# is a rich, strongly typed language that provides many options for controlling the flow of your code. This course will teach you how to use various types of statements and expressions to add meaningful decision logic and handle tasks in your apps.
What you'll learn
Nearly every modern application requires structured logic to make decisions and manage repetitive tasks. In this course, Controlling Program Flow in C# 9, you’ll learn to use different types of C# statements to control the execution flow of your apps. First, you’ll explore how statements form the building blocks of C# code, and use simple statements and expressions to calculate values and handle logical comparisons. Next, you’ll discover how to use conditional selection statements to create branching paths of logic in your apps. Finally, you’ll learn how to manage repetitive tasks and work with sets of data using loops and iteration statements. When you’re finished with this course, you’ll have the skills and knowledge of C# statements needed to control the logic and flow of meaningful applications.
Table of contents
- Version Check 0m
- What Is Program Flow? 3m
- Demo: Setting up the Sample Project 4m
- Understanding C# Statements 4m
- Demo: Writing Simple Statements 4m
- Exploring Statements and Expressions 4m
- Demo: Working with Expression Statements 3m
- Demo: Making Logical Comparisons with Statements 4m
- Demo: Stepping through Program Flow 2m
- Summary 1m
- Exploring Selection Statements 3m
- Demo: Creating a Simple Selection Statement 5m
- Demo: Creating a Branching Selection Statement 2m
- Demo: Complex Decisions Using Selection Statements 3m
- Exploring Switch Statements 3m
- Demo: Working with Switch Statements 3m
- Demo: Organizing the Application Code 4m
- Summary 1m
- Going Further with Flow and Statements 1m
- Demo: Controlling Flow through User Input 3m
- Demo: Enhancing Program Flow Using Loops 4m
- Demo: Program Flow Considerations with Dynamic Data 4m
- Demo: Generating Reports Using Dynamic Data 5m
- Exploring Advanced Selection Statement Features 3m
- Demo: Exploring Additional Switch Statement Features 4m
- Demo: Streamlining if-else Selections 3m
- Demo: Touring a Finalized App State 3m
- Summary 2m