Controlling Program Flow in C#

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.
Course info
Rating
(77)
Level
Beginner
Updated
Apr 29, 2021
Duration
2h 32s
Table of contents
Course Overview
Working with C# Statements
Branching Program Flow with Selection Statements
Looping through Tasks with Iteration Statements
Exploring Additional Program Flow and Statement Features
Description
Course info
Rating
(77)
Level
Beginner
Updated
Apr 29, 2021
Duration
2h 32s
Description

Nearly every modern application requires structured logic to make decisions and manage repetitive tasks. In this course, Controlling Program Flow in C#, 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.

About the author
About the author

Alex Wolf is passionate about software development and mastering new technologies. He has several years of experience working almost exclusively with the .NET Framework and related platforms. Alex is also a Microsoft Certified Professional in both MVC Application development and HTML 5 technologies. He loves learning new things!

More from the author
What's New with ASP.NET Core in .NET 5.0
Intermediate
2h 5m
Dec 10, 2020
More courses by Alex Wolf
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hey everyone. My name is Alex Wolf, and welcome to my course, Controlling Program Flow in C#. I've worked as a .NET developer on projects of all sizes for over a decade, and program flow remains one of my favorite and most essential topics to explore. By controlling program flow, we can transform our code from a basic set of instructions to a meaningful app that makes complex decisions. So in this course, you will learn how to write different types of statements and utilize expressions. You'll see how to use selection statements to make decisions and handle branching logic in your code. This course also explores how to use iteration statements to handle repetitive tasks or process large sets of data. Finally, you'll see how to bring all of these concepts together to influence program flow through dynamic user input and parameters. By the end of this course, you'll understand how to write C# applications that make decisions and achieve objectives through branching paths and tasks. Now, although this course is aimed at beginners, before you start, you should have at least a very basic working knowledge of C# and .NET. If you've already worked through some type of introductory course on C# or you have equivalent experience in other languages, you'll be good to go. After this course, you'll be ready to dive into more advanced C# topics, such as the type system, generics, arrays and collections, and much more. So, I hope you'll join me on this journey to learn how to control program flow with C#, right here on Pluralsight.