Simple play icon Course
Skills

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
1min

About the author

Alex Wolf works as a Senior Content Developer at Microsoft and specializes in .NET on Azure and .NET AI . He is passionate about learning and teaching software development and has over a decade of experience in the .NET and Azure ecosystems. He is also highly engaged in DevOps and various cloud technologies to improve development workflows and infrastructure. Alex has worked for companies of nearly every size, ranging from small start-ups to massive enterprises. He also maintains a hobbyist i... more

Ready to upskill? Get started