Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
C# 10 with .NET 6 Theory for Beginners (Part 1)
Rating: 4.6 out of 5(112 ratings)
4,009 students

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

The theory you need for part 2.
Created byJonas Fagerberg
Last updated 10/2022
English

What you'll learn

  • 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.

Course content

1 section13 lectures1h 55m total length
  • Introduction2:12

    Welcome to this course, where you'll learn the theory and the moving parts of C#.

  • Memory12:58

    You'll learn how the memory stores data and why the .NET Runtime uses two different memory areas.

  • Variables16:34

    You'll learn what variables are and their purpose.

  • Classes, encapsulation, and separation of concerns (things -- substantives)19:28

    You'll learn about classes (blueprints), what they can contain, and how that is translated into objects (instances). You will also learn about two important principles: encapsulation and separation of concerns.

  • Properties (characteristics -- adjectives)8:45

    You'll learn about the different properties available and how to use them.

  • Methods (behaviors -- verbs)13:39

    You'll learn about the different methods available and how to implement them.

  • Extension methods, Access Modifiers, and Static Data9:50

    You'll learn why an extension method must be public and static and how to implement and call them. You'll also learn what access modifiers are and how to apply them.

  • Exceptions: Error handling3:49

    You'll learn how to implement exception (error) handling in your code to make it more robust and secure.

  • Conditional logic: if vs. switch5:16

    You'll learn to implement if statements and switches to create conditional paths through your code.

  • Collections and Queues7:39

    You'll learn how to implement and use dynamic collections, stacks, and queues.

  • Loops: for vs. foreach vs. while9:20

    You'll learn about the different loops, for, foreach, and while, and how to implement them.

  • Debugging6:11

    You'll learn how to debug your code to correct errors.

  • What's next?0:11

    What should you do next?

Requirements

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

Description

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.