Introduction to Programming with C#12 and .NET8
Ends soon! Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Introduction to Programming with C#12 and .NET8
Included with
Ask Coursera
Recommended experience
Recommended experience
What you'll learn
Set up a C# development environment and write your first program.
Master C# fundamentals, including variables, loops, and debugging.
Work with GitHub, error handling, and object-oriented programming.
Skills you'll gain
Details to know
See how employees at top companies are mastering in-demand skills
There are 13 modules in this course
Updated in May 2025.
This course now features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Start your journey into C# programming with this comprehensive course designed for beginners. You’ll begin by learning the fundamentals of programming, exploring C# and the .NET ecosystem, and understanding best practices for writing clean, maintainable code. By setting up your development environment with Visual Studio and Visual Studio Code, you’ll be fully prepared to dive into coding. The course gradually builds your knowledge of C# syntax, covering variables, data types, user input, and output. You’ll then explore essential programming concepts such as conditional logic, loops, operators, and methods. Through hands-on exercises, you’ll reinforce these concepts by developing interactive programs and debugging errors using industry-standard tools. As you progress, you’ll work with GitHub for version control, master string, and DateTime manipulations, and explore error-handling techniques. You’ll also gain experience with arrays, collections, and object-oriented programming, allowing you to build scalable and structured applications. Each section includes coding exercises to apply what you’ve learned in real-world scenarios. This course is perfect for beginners looking to build a strong foundation in programming. No prior coding experience is required, making it an ideal starting point for aspiring developers. Whether you’re interested in software development, automation, or game development, mastering C# will open doors to numerous career opportunities.
In this module, we will introduce the basics of programming and explore why C# is a powerful language for software development. You'll gain an understanding of the .NET framework and best practices to write high-quality C# code.
What's included
4 videos1 reading1 assignment
4 videos•Total 17 minutes
- Introduction•4 minutes
- What is Programming?•4 minutes
- What are C# and .NET?•7 minutes
- Best practices•1 minute
1 reading•Total 10 minutes
- Full Course Resources•10 minutes
1 assignment•Total 15 minutes
- Introduction to Programming with C# - Assessment•15 minutes
In this module, we will set up your development environment by installing the necessary tools, including Visual Studio 2022 and Visual Studio Code. You'll also get a guided tour of these tools to ensure you're ready to start coding in C#.
What's included
6 videos1 assignment
6 videos•Total 28 minutes
- Section Overview•0 minutes
- Install Visual Studio 2022 Community Edition•3 minutes
- Visual Studio 2022 Community Edition Tour•8 minutes
- Introduction to Visual Studio Code and .NET SDK•4 minutes
- Install Visual Studio Code and .NET SDK•8 minutes
- Visual Studio Code Tour•5 minutes
1 assignment•Total 15 minutes
- Development Environment Setup - Assessment•15 minutes
In this module, we will dive into the syntax of C#, covering top-level statements, variables, data types, and user interaction. You'll also put your knowledge to the test with a coding exercise to build a complete program.
What's included
9 videos1 assignment
9 videos•Total 66 minutes
- Understanding C# Syntax and principles•5 minutes
- Top level statements•6 minutes
- Producing output to users•12 minutes
- Understanding datatypes and variables•3 minutes
- Using variables - Part 1•11 minutes
- Using variables - Part 2•10 minutes
- Receiving input from users•3 minutes
- Coding Exercise: Completing a full program•14 minutes
- Section Review•3 minutes
1 assignment•Total 15 minutes
- Basic C# Syntax - Assessment•15 minutes
In this module, we will explore GitHub, a critical tool for software development and collaboration. You'll learn how to set up an account, push your code, and manage version control efficiently.
What's included
5 videos1 assignment
5 videos•Total 27 minutes
- Introduction to GitHub•5 minutes
- Create GitHub Account•2 minutes
- Commit and push code to GitHub (Visual Studio)•9 minutes
- Commit and push code to GitHub (Visual Studio Code)•5 minutes
- Next Steps•7 minutes
1 assignment•Total 15 minutes
- Introducing GitHub - Assessment•15 minutes
In this module, we will cover essential debugging techniques to help you troubleshoot and optimize your C# code. You'll learn how to identify common errors and use debugging tools to analyze and fix issues efficiently.
What's included
7 videos1 assignment
7 videos•Total 47 minutes
- Section Overview•2 minutes
- Improve Existing Program•10 minutes
- Explore Syntax Errors•15 minutes
- Explore Logic Errors•7 minutes
- Using Breakpoints•10 minutes
- Using Variable Watch•2 minutes
- Section Review•1 minute
1 assignment•Total 15 minutes
- Debugging and Troubleshooting Techniques - Assessment•15 minutes
In this module, we will explore operators in C#, including arithmetic, logic, and assignment operations. You'll learn how to use them effectively and practice applying them in real-world scenarios.
What's included
9 videos1 assignment
9 videos•Total 45 minutes
- Section Overview•1 minute
- Arithmetic Operators•2 minutes
- Basic Math Operators•11 minutes
- Logic Operators•2 minutes
- Basic Logic Operations•10 minutes
- Assignment Operators•3 minutes
- Basic Assignment Operations•10 minutes
- Code Review and GitHub Commit•5 minutes
- Section Review•2 minutes
1 assignment•Total 15 minutes
- Operators in C# - Assessment•15 minutes
In this module, we will explore conditional logic in C#, covering simple and complex conditions. You'll apply this knowledge in a hands-on project by creating a functional calculator.
What's included
11 videos1 assignment
11 videos•Total 83 minutes
- Section Overview•1 minute
- Why Use Conditional Statements•2 minutes
- Simple If Statements•10 minutes
- If...Else If...Else Statements•8 minutes
- Complex Conditions with AND and OR•14 minutes
- Ternary Operators•5 minutes
- Switch Statements•12 minutes
- Understanding Variable Scope•9 minutes
- Coding Exercise - Functional Calculator•17 minutes
- Code Review and GitHub Commit•6 minutes
- Section Review•1 minute
1 assignment•Total 15 minutes
- Conditional Logic in C# - Assessment•15 minutes
In this module, we will explore repetition structures in C#, including for, while, and do-while loops. You'll apply these concepts in a coding exercise to enhance a calculator with automated operations.
What's included
9 videos1 assignment
9 videos•Total 64 minutes
- Section Overview•1 minute
- Why Use Repetition Statements?•1 minute
- For Loops•12 minutes
- While Loops•17 minutes
- Do...While Loops•6 minutes
- Important Theory and Keywords•5 minutes
- Coding Exercise - Enhancing the Calculator•16 minutes
- Code Review and GitHub Commit•6 minutes
- Section Review•1 minute
1 assignment•Total 15 minutes
- Mastering Repetition in C# - Assessment•15 minutes
In this module, we will cover error and exception handling techniques to make your C# applications more reliable. You'll learn to use try-catch blocks and apply them in a hands-on coding exercise.
What's included
8 videos1 assignment
8 videos•Total 48 minutes
- Section Overview•1 minute
- What Are Exceptions?•2 minutes
- Introducing the try..catch•2 minutes
- Using the try...catch block•10 minutes
- Coding Exercise - Add Exception Handling to the Calculator - Part 1•15 minutes
- Coding Exercise - Add Exception Handling to the Calculator - Part 2•11 minutes
- Code Review and GitHub Commit•4 minutes
- Section Review•3 minutes
1 assignment•Total 15 minutes
- Error and Exception Handling in C# - Assessment•15 minutes
In this module, we will explore string and DateTime manipulation techniques in C#. You'll gain hands-on experience with text processing and date/time functions through a real-world coding exercise.
What's included
12 videos1 assignment
12 videos•Total 122 minutes
- Section Overview•1 minute
- Why Are Strings So Special?•5 minutes
- String Initializations and Uses - Best Practices and Techniques•20 minutes
- String Manipulation Methods•28 minutes
- Understanding Date and Time Types•2 minutes
- Explore DateTime Manipulations•26 minutes
- Explore DateTimeOffset and TimeZones•13 minutes
- Exploring DateOnly and TimeOnly•9 minutes
- DateTime Comparisons (Logic)•2 minutes
- Coding Exercise - User Information Collection•10 minutes
- Code Review and GitHub Commit•3 minutes
- Section Review•4 minutes
1 assignment•Total 15 minutes
- Mastering String and DateTime Manipulation in C# - Assessment•15 minutes
In this module, we will explore methods in C#, covering their types and parameters. You'll learn to create reusable functions and apply them in a practical coding exercise.
What's included
9 videos1 assignment
9 videos•Total 59 minutes
- Section Overview•1 minute
- What Are Methods?•6 minutes
- Void Methods•5 minutes
- Value Returning Methods•7 minutes
- Method Parameters - Required•10 minutes
- Method Parameters - Optional and Nullable•15 minutes
- Coding Exercise - Adding Methods to the Calculator•10 minutes
- Code Review and GitHub Commit•5 minutes
- Section Review•1 minute
1 assignment•Total 15 minutes
- Unleashing the Power of Methods in C# - Assessment•15 minutes
In this module, we will explore arrays and collections in C#. You'll learn to store and manage data efficiently while working on a real-world exercise.
What's included
8 videos1 assignment
8 videos•Total 55 minutes
- Section Overview•1 minute
- Why Do We Need Collections?•5 minutes
- Arrays•13 minutes
- Lists•12 minutes
- Generic vs. Non-Generic Collection Types•3 minutes
- Coding Exercise - Using Lists and Arrays•16 minutes
- Code Review and GitHub Commit•4 minutes
- Section Review•2 minutes
1 assignment•Total 15 minutes
- Navigating Arrays and Collections in C# - Assessment•15 minutes
In this module, we will explore Object-Oriented Programming in C#, covering classes, objects, inheritance, and more. You'll put theory into practice with a coding exercise that modifies user input using OOP techniques.
What's included
20 videos3 assignments
20 videos•Total 169 minutes
- Section Overview•1 minute
- What is Object Oriented Programming?•3 minutes
- What are Classes?•7 minutes
- Creating Classes•11 minutes
- What are Objects?•2 minutes
- Using Objects•13 minutes
- Constructors•13 minutes
- Method Overloading•4 minutes
- Inheritance•17 minutes
- Abstract Classes•12 minutes
- Interfaces•15 minutes
- Working with Namespaces•14 minutes
- Partial Classes•5 minutes
- Static Classes•6 minutes
- Additional Access Modifiers•8 minutes
- Additional Concepts•3 minutes
- Coding Exercise - Modifying User Input Demo - Part 1•16 minutes
- Coding Exercise - Modifying User Input Demo - Part 2•8 minutes
- Code Review and GitHub Commit•7 minutes
- Section Review•3 minutes
3 assignments•Total 90 minutes
- Full Course Practice Assessment•15 minutes
- Object Oriented Programming (Classes and Objects) - Assessment•15 minutes
- Full Course Assessment•60 minutes
Instructor
Explore more from Software Development
- Status: Free Trial
Course
Guided Project
Why people choose Coursera for their career
Frequently asked questions
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
More questions
Financial aid available,
