Beginning Programming with C#
This course will teach you the basics of working with the C# language. You'll learn how to write programs using Microsoft's premiere development language: C#. By Brian Moakley.
Learning path
This is part of the Unity for Beginners learning path. View path.
Part 1: Getting Started
Welcome to Beginning Programming With C#! In this course introduction, you'll learn about the C# language, its history, and how it has developed over time.
This episode introduces you to Visual Studio, what it does, and how to get it running on your computer.
In this episode, you'll write your very first program in C# and actually run it. Let's get started!
Big picture time: this episode gives you an overview of how C# converts source code into a running executable.
Learn about the concept of a variable, how to create one, and ultimately use them in your programs.
In your first programming with C# challenge, you'll calculate the average value using variables. Good luck!
Let's talk types! Here, you'll learn about C#'s robust typing system and how it relates to working with variables.
Not just a type of couch! This episode about casting teaches you the basics of converting data from one type to another.
Operators work on data, and C# has lots of them. You'll learn some of the basic operators in this episode.
Challenge time! In your second challenge, you are tasked with creating a string using other strings.
This episode will introduce the concept of null and walk you through what it means to create a nullable type.
That was a lot to cover! With part one complete, you get a review of what you learned, as well as the excitement still to come in Part 2.
Part 2: Control Flow
In Part 2 of the course, you'll learn about control flow and the various topics that contribute to it.
In this episode, you'll learn how to create constants in C# in a way that is readable and easy to understand.
The if statement allows you to branch your code based on your data. This episodes teaches the basics of using them.
In this challenge, you'll write an if statement to determine whether an if statement is even or odd.
The ternary operator allows you to condense your if statement into a single, which is great for setting values.
In this episode, you'll learn about the Switch statement, which is similar to an if statement, but with key differences.
An array is your first data structure that can hold other items. Here, you'll learn to use arrays in your programs.
Challenge time! In this challenge, you'll create an array to hold your first, middle, and last name.
Time for for loops! Learn about the basics of the for loop and how to use it for repetitive tasks.
One more challenge! This challenge tasks you with printing out your name array using just a for loop.
This episode introduces you to some of the other loops that you may use when writing programs.
Congrats on completing Beginning Programming With C#! Let's review what you learned and find out where to go next.