C# 10 with .NET 6 Theory for Beginners (Part 1)

The theory you need for part 2.
Free tutorial
Rating: 4.6 out of 5 (69 ratings)
3,144 students
1hr 56min of on-demand video
English [Auto]

How the memory works: Stack vs. Heap.
Creating and using variables: Value type vs. Reference type.
Creating and using properties (characteristics -- adjectives)
Creating and calling methods: Regular vs. Extension methods (behaviors -- verbs)
Defining and using classes and objects: Blueprint vs. Instance (things -- substantives)
Encapsulation and Separation of concerns
Exception (error) handling and debugging.
Loops: for vs. foreach vs. while.
Arrays, Collections, and queues.
Conditional logic: if vs. switch.
Linq methods and Lambda expressions.
Generic types.


  • No programming experience needed. This in an introductory overview of C# programming.


Join me in this exciting foundational course on C# theory taught through short code snippets contrasted with real-world scenarios. Armed with the knowledge from this course, you can confidently begin your path toward becoming a seasoned C# developer.

Don't procrastinate. Take the opportunity to learn a new language, go into the world of coding full of hope and energy, and build awesome applications. I know you can.

As this is a theoretical course, it doesn't show how to build an entire application; we do that in part 2, where you'll install the necessary tools and build a to-do web application from scratch.

Frequently asked questions from students before they took the course.

  • How does the .NET runtime handle memory?

  • What is the Stack and the Heap?

  • What are variables, and how do we use them?

  • Why do we need structs, classes, and records?

  • How do we add behaviors to our program?

  • How do we describe the characteristics of an object?

  • Is debugging necessary?

  • What if I need to repeat something? Can it be done?

  • Why and how do we branch our code with conditional logic?

I answer all these questions in the course, describing how to implement variables, many kids of properties (characteristics, adjectives) and methods (behaviors, verbs), the difference between classes (blueprints, substantives) and objects, and why encapsulation and separation of concerns are paramount, four types of loops, and how to debug and implement exception (error) handling.

Courese Image by catalyststuff on Freepik

Who this course is for:

  • Beginner developers and those new to programming.


Professional Teacher, Developer and Consultant
Jonas Fagerberg
  • 4.4 Instructor Rating
  • 112 Reviews
  • 8,109 Students
  • 4 Courses

Jonas started a company back in 1994 focusing on education in Micro­soft Office and the Microsoft operating systems. While studying at the university in 1995, he wrote his first book about Widows 95 as well as a number of course materials.

In the year 2000, after working as a Microsoft Office developer consult­ant for a couple of years, he wrote his second book about Visual Basic 6.0.

Between 2000 and 2004 he worked as a Microsoft instructor with two of the largest educational companies in Sweden. First teaching Visual Basic 6.0, and when Visual Basic.NET and C# were released he started teaching these languages as well as the .NET Framework. Teaching classes on all levels for beginner to advanced developers.

From the year 2005, Jonas shifted his career towards consulting once again, working hands on with the languages and framework he taught.

Fore the past two years he has been teaching C#, SQL Server Programming, Entity Framework and MVC 5 to students at a vocational college.

Jonas wrote his third book C# programming aimed at beginners to intermediate developers in 2013 and in 2015 his fourth book C# for beginners - The Tactical Guide was published. Jonas has also produced a 24h+ video course called. In July 2016 his latest book ASP.NET MVC 5 - How to build a membership website will be released on Amazon which this video course is based on.

Top companies trust Udemy

Get your team access to Udemy's top 26,000+ courses