Simple play icon Course

Controlling Program Flow in C# 9

by Alex Wolf

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

Course Overview

About the author

Alex Wolf works as a .NET and Azure Content Developer at Microsoft, and is passionate about learning and teaching software development. He has over a decade of experience and multiple certifications in the .NET ecosystem and related technologies. He is also highly engaged in DevOps and Cloud technologies to improve development workflows and infrastructure. Alex has worked for companies of nearly every size, ranging from small start-ups to very large enterprises. He also maintains a hobbyist ... more

Ready to upskill? Get started