Introduction
Welcome to this course dedicated to learning C# programming.
In the first part of the course, you will learn to declare variables, master data types, define objects with classes, and choose the right collection to handle complex situations.
The second part focuses on managing the flow of a program: starting with the Main function, using conditions and loops, handling errors, and communicating with the outside world.
Finally, in the third part, you will discover how to write clear and maintainable code. You will understand parameters and return values, write clean functions, test and debug them, and explore recursion. You will end with a practical activity to create your first application.
By following these three parts, you will acquire a solid foundation in C# programming, allowing you to create effective and well-structured programs. Happy learning!
How Does this Course Work?
Before you dive into the content, make sure you know how to best utilize the information and tools in this course to maximize your learning!
To summarize, the best way to get the most of this course is to:
Watch each video to understand why the concepts covered in each chapter matter.
Read the text below the video to learn how you can use C# to implement those concepts.
Practice along with the interactive exercises. 💪
Prepare Your Tools
Let’s take the time to prepare the tools you’ll need for this course: Visual Studio, Visual Studio Code, and GitHub.
Visual Studio and Visual Studio Code
Visual Studio, or Visual Studio Code for Mac users, is the preferred development environment for developers. These tools support multiple programming languages, including C#. They are essential for practicing the course exercises and are indispensable for C# developers in their day-to-day work.
Installing Visual Studio for Windows
To install Visual Studio on Windows, follow these steps:
Download and install Visual Studio Community Edition (free).
Set up a complete development environment by following the instructions in Part 2 of the course Set Up Your .NET Coding Environment With Visual Studio.
Installing Visual Studio Code for Mac
Here are the steps for installing Visual Studio Code on Mac:
Open your web browser and go to the official Visual Studio Code website at https://code.visualstudio.com/.
Click the “Download” button to download the appropriate installer.
The file you download is the application ready to use. Drag it into your Applications folder to make it accessible from the Launchpad.
Get the Exercises from GitHub
In this course, you will put what you have learned into practice with coding exercises that you can retrieve from GitHub. To access the exercises, follow the instructions below:
Create an account or log in to your GitHub account (it’s free) at github.com.
Access the course exercises here: Learn programming with C#.
Clone the repository to retrieve all the exercises.
The different exercises are located in the folders corresponding to the chapters of the course. Browse the folders to find the exercises related to each chapter and start practicing them.
Are your tools ready? Then let's get started on the course!