Autoplay
Autocomplete
Previous Lesson
Complete and Continue
C# Masterclass
Introduction, Overview of Visual Studio, DataTypes And Variables
Introduction (1:46)
What Do You Want to Achieve (2:09)
Downloading and Installing Visual Studio (4:12)
Creating our First Project and Hello World (3:57)
CHEATSHEET - Writing our First Program
History of Csharp (7:21)
Understanding Frameworks and Compiling (5:36)
Single line comments (1:21)
Top Level Statements - Documentation (7:15)
Using System Directives (2:13)
Using variables - String (5:33)
Understanding User Input and the Data Type String (7:55)
Take control over our console (1:48)
Quick VS UI overview Folder Structure and understanding Compiler errors vs Runtime (5:43)
C# Fundamentals Quiz
The different things you can build with C# and .NET
High Level Overview of Variables and Datatypes (4:25)
Coding Standards (3:54)
Naming Conventions (3:48)
Overview of Datatypes (7:25)
Data Types and ChatGPT (5:39)
Value vs Reference Type (3:58)
Variable Definition, Initialization and Assigning (2:40)
Coding Exercise - Simple Variables Introduction
Intro Mini Project Addition Calculator (0:59)
Understanding Int Number Datatype and why we cant fit a string into it (4:48)
Using the Parse Method to Convert from String to Int (4:08)
Quiz - Understanding Type Conversion in C#
Finalizing our Addition Calculator (5:53)
String Concatenation vs String Interpolation (2:45)
Using Decimal Numbers instead with Double (6:04)
Dots and commas with doubles (3:04)
Fixing some more bugs (5:58)
Implicit Conversion (3:55)
Explicit Conversion (6:26)
Conversion Helpers Parse and Convert (5:42)
Implicitly Typed Variables vs Explicitly Typed Variables (3:11)
Operators, order of Evaluation and some math basics (9:27)
Debugging, Breakpoints, Runtime Error and Compile time Error (9:14)
Quiz - Debugging and Fixing Simple Bugs
Coding Exercise - Fixing Simple Bugs
Char Datatype and UTF16 Smiley (3:57)
More String Manipulation with String Formatting (4:12)
Quiz - Understanding Indexing in C#
Characters that are Reserved in C#
How to use special characters in strings with the escape character (3:23)
Coding Exercise - Special Characters and Escape Sequences
C# Cheat sheets
Want to become an employed C# developer?
BONUS: additional materials
CHEATSHEET - Datatypes in C#
Making Decisions
Logical Operators (3:14)
Quiz - Logical Operators in C#
Datatype Bool (2:30)
If Statements (2:22)
OR and NOT operators (5:18)
AND operator (2:35)
Relational operators (5:03)
The Else Keyword (1:50)
Else If Keyword and Order of Importance (5:33)
Quiz - Control Structures: If, Else, and Else If in C#
Equality Operator and not equal (5:06)
Nested If Statements (4:20)
Understanding the Scope of a variable (4:38)
Challenge Clubbing or no Clubbing (5:51)
One Line If Statements (2:29)
The Switch Statement - Keywords Switch (4:49)
Switch or If - which to choose (2:59)
CHEATSHEET - Decision Making in C#
Coding Exercise: Using the Switch Statement
Our Little Quiz App (8:12)
Using String Methods Trim and ToLower (4:36)
Incrementing and Pre-Incrementing (3:56)
Decrementing and Modulo Operator (5:31)
How to use try parse (5:47)
Quiz - Advanced Conditionals and Loops
How to generate a random number (6:07)
Coding Exercise: ADVANCED EXERCISE: Building a Conditional-Based Calculator
Loops
Loops Overview (1:55)
For Loop (6:04)
For Loop - Count down challenge (1:56)
Escape Characters r and n as well as Thread.Sleep (5:28)
CHALLENGE: Rocket Landing Simulation
Landing a Rocket with a for loop (2:39)
While loop and using it as a counter (5:15)
While loops where it really shines (5:43)
Guess the Number Challenge Solution (6:28)
Quiz - Working with While Loops
Building a Text Adventure Game (10:22)
Do While Loops (4:17)
Solution Average Calculator (4:33)
Break and Continue (6:26)
Simple Array (6:03)
Declaring and setting values for arrays in the same line (3:47)
Foreach and length of an array (8:04)
Quiz - Understanding Loops in C#
TwoDimensional Arrays (9:15)
ThreeDimensional Arrays (4:25)
CHEATSHEET - Loops in C#
Coding Exercise: Using Arrays
Coding Exercise: ADVANCED EXERCISE: Working with Two-Dimensional Arrays and Loops
Functions and Methods
Intro To Functions / Methods (7:08)
Void Method without Parameters (5:00)
Void Method with a Parameter Part 1 (5:12)
Void Method with a Parameter Part 2 (7:23)
Quiz - Understanding Methods in C#
Scope of variables and parameters (3:08)
Moving to the classical Template - Top Level Statements (8:55)
Moving our Methods outside of the Main Method (4:06)
Fields, instance variables and how they differ from local variables (5:05)
Quiz - Variable and Scope Understanding
WeatherSimulator - Using Arrays, Random, and For Loops (10:19)
WeatherSimulator - Calculating the Average Temperature (7:05)
Mixing Doubles and Ints when Calculating (3:11)
WeatherSimulator - Getting the Min and Max Values of an array (4:54)
WeatherSimulator - Getting the Most common weather condition (11:50)
CHEATSHEET - Functions and Methods in C#
Coding Exercise: ADVANCED EXERCISE: Calculating Average Temperature
Object Oriented Programming (OOP)
Objects Intro (2:07)
Introduction To Classes And Objects (3:15)
Creating our First own Class (7:58)
Member Variable and Custom Constructor (7:17)
Properties - Autogenerated - to protect our member variable (6:00)
Defining how a property is set (8:28)
Modifying the Get of our Property Part 1 (7:08)
Modifying the Get of our Property part 2 (5:00)
Having Multiple Constructors (7:11)
Default Constructor and Use Cases (5:33)
Quiz - Understanding Constructors
Methods in Classes (7:23)
Methods in Classes in more detail (7:37)
Optional Parameters (4:12)
Named Parameters (2:58)
Computed Properties and No Constructor (3:08)
Static Methods (6:59)
Static Fields (3:03)
Static Keyword Considerations
Public and Private Keywords (4:36)
ID Key and readonly (7:25)
Read Only Properties (2:48)
Write Only Properties (5:15)
Const and ReadOnly (5:21)
Quiz - Working with Read-Only Properties
Quiz Project Introduction (3:33)
QuizApp - Question Class (5:18)
QuizApp - Keyword This (3:21)
QuizApp - Displaying Questions (6:01)
QuizApp - Displaying Answers, Console.Write and Console.ForegroundColor (6:30)
QuizApp - Getting the UserInput and checking if it is right (5:48)
QuizApp - Displaying Multiple Questions and if we are right or wrong (7:56)
QuizApp - Displaying the Results (7:55)
CHEATSHEET - Object Oriented Programming in C#
Coding Exercise: ADVANCED EXERCISE: Creating a Class with Properties and Methods
Collections in C#
Presentation Lists Overview (7:36)
Declare a List, add and read List item (2:56)
Removing Items from a List (5:23)
Initializing a list with items (2:29)
Sort() ing a list (2:44)
Quiz - Working with Lists
FindAll (4:55)
Predicates and Lambdas (6:57)
Predicates with Find All and Delegates (5:36)
Any Method (3:00)
Using Lists with complex Objects (5:39)
List.Where() and getting a first touch point with LINQ (8:28)
Quiz - Using LINQ with Lists
Legacy ArrayLists (11:25)
Legacy - Hashtables (15:37)
Nullables in Csharp (7:00)
Dictionaries Part 1 - Declaring, Initializing and Adding Items (4:54)
Dictionaries Part 2 - Updating, Removing entries and Iterating through Dictionary (5:37)
Gracefully Adding and Updating Dictionaries (5:05)
Using a Complex Object as the Value of a Dictionary (7:34)
Why use this Dictionary instead of an array
Another way to declare and initalize dicts plus string as key (6:09)
CHEATSHEET - Collections in C#
Coding Exercise: ADVANCED EXERCISE: Advanced Dictionary Operations
Error Handling
Quiz - Understanding Try-Catch
Try And Catch (6:32)
The Finally Keyword (3:50)
Try Catch huh. Why not just use If Statements (2:22)
Debug Log (6:46)
Throw Keyword (6:04)
Managing multiple Types of Exceptions (6:41)
Quiz - Exception Handling Techniques
Why the Default Exceptions rocks (4:09)
How Exceptions Work with the Call Stack (8:38)
How to Handle Exceptions Properly
CHEATSHEET - Debugging in C#
Coding Exercise: ADVANCED EXERCISE: Handling Multiple Exceptions
Inheritance
Inheritance Base Class vs Derived Class (8:22)
The 3 slash 4 Types of Inheritance (6:06)
Access Modifiers and the Protected Keyword (6:03)
Method Overriding with override and virtual (4:45)
Quiz - Understanding Method Overriding
The Base Keyword and Why Inheritance even matters (4:59)
Constructor Inheritance 1 - Base Keyword with Constructors and How Properties (8:02)
Constructor Inheritance (5:50)
When and Why Constructor Inheritance is Useful (1:34)
Quiz - Constructor Inheritance and Usage
Constructor Inheritance with Multiple Derived Classes (8:26)
Every Class inherits from the Object class (5:15)
XML Comments Documentation (4:48)
Sealed keyword (4:02)
CHEATSHEET - Inheritance and more on OOP
Coding Exercise: ADVANCED EXERCISE: Advanced Method Overriding
Interfaces and Polymorphism
What and Why Interfaces - Including Syntax (4:47)
Implementing and using Interfaces - Exercise (3:46)
Challenge - Create a Cat Class that implements IAnimal
Solution Exercise - Create a Cat Class that implements IAnimal (1:24)
The second part of Polymorphism (4:23)
What is Polymorphism and why use it (2:48)
Quiz - Understanding Polymorphism
Interface Reusability while using Polymorphism (11:18)
Understanding the difference of Polymorphism and Interfaces in our Payment Example (6:35)
CHEATSHEET - Polymorphism + Adv OOP + Text File
Storing a Log Text File on your PC with your own text (4:34)
Creating a Folder on Your PC and Logging text there (5:15)
Decoupling Code and Enhancing Testability (9:51)
Understanding Dependency in Dependency Injection (4:37)
Super Simple Constructor Dependency Injection (4:06)
Setter Dependency Injection (4:19)
Interface Dependency Injection and Comparison (5:49)
Quiz - Understanding Dependency Injection
Multiple Inheritance in csharp (4:49)
Coding Exercise: ADVANCED EXERCISE: Polymorphism with Interfaces
Structs in C#
Introduction to Structs (6:14)
Structs example get distance between two points (5:22)
Quiz - Understanding Structs in C#
Understanding Value Type vs Reference Type with Structs vs Classes (5:19)
Enums in C# (5:29)
DateTime (19:29)
MathClass (7:47)
Coding Exercise: ADVANCED EXERCISE: Using Structs with DateTime and Math
Garbage Collection (8:42)
Events and delegates
Introduction to Delegates (6:51)
Where to declare delegates (0:41)
Simple delegates example (4:19)
Super quick intro to Generics (7:42)
Combining Generics with Delegates to make a sorting algorithm (12:45)
Quiz - Understanding Multicast Delegates
Multicast Delegates (4:31)
GetInvocationList seeing which methods are in a multicast delegate (8:00)
Intro to Events - Publishers and Subscribers (9:22)
Real World example - Events - Temperature Monitor (8:31)
Coding Exercise: ADVANCED EXERCISE: Stock Price Alert System with Dynamic Thresholds
Using EventArgs and EventHandler (14:56)
Quiz - Understanding Events
Regular Expressions
What this chapter is about (1:45)
What is Regex (1:53)
Quiz - So, what is Regex then?
Using dots and wildcards, Regex Matching, and Quantifiers (6:03)
Creating groups and ranges and using alternation constructs (6:13)
Finding Specific Patterns and some examples for our challenges (11:23)
CHALLENGE: Telephone number Challenge (3:11)
CHALLENGE: Mr and Mrs (3:26)
CHALLENGE: Web URL Challenge (1:52)
Using Regular expressions in CSharp (6:53)
Coding exercise: ADVANCED EXERCISE: Extracting Email Addresses with Regex
Section 13: WPF - Windows Presentation Foundation
WPF Intro (1:22)
Introduction To WPF - And When To Use It (6:26)
XAML Basics and Code Behind (20:01)
StackPanel - Listbox - Visual and Logical Tree (10:16)
Routed Events - Direct, Bubbling and Tunneling (8:48)
More details on Routed Events
Grid (13:01)
Dependency Properties (15:26)
Data Binding (11:11)
INotifyPropertyChanged Interface (15:33)
ListBox and a List of Current Matches (21:45)
ComboBox (5:10)
CheckBox (12:04)
ToolTip (2:48)
RadioButtons and Images (11:29)
Property, Data and Event Triggers (19:52)
PasswordBox (5:19)
WPF Summary (1:16)
Section 14: Using Databases With C#
Databases Intro (1:04)
Setup MS SQL Server and VS For DB work (9:53)
Intro And Setting Up Our DataSet And Table (13:35)
Relationship or Associative Tables (14:07)
Showing Data in a ListBox (13:36)
Showing Associated Data (10:24)
Displaying all Animals In The ListBox (8:11)
Deleting From A Table With A Click (16:07)
Added Note - Adding the base tables and entries back
Delete Animals, Remove Animals and Add Animals Functionality (17:00)
Updating Entries in Our Tables (15:53)
Databases Outro (0:39)
Section 15: Linq
Linq Intro (0:52)
Linq gentle Introduction (3:56)
Linq Demo (5:35)
Linq with Lists - and our University Manager Part 1 (13:28)
Sorting and Filtering with Linq (15:10)
Creating collections based on other collections (6:52)
Linq with XML (17:38)
Setting up the project for LinqToSQL (15:48)
Inserting Objects into our Database (19:12)
Using assiociative tables with Linq (16:25)
Joining tables next level (9:22)
Deleting and Updating (13:30)
Linq Outro (0:33)
Section 16: NEW: WPF Project - Currency Converter with GUI Database and API
Part 1 - Building The GUI And Using Static Data
Part 2 - Building A Grid Table And Using A Database
Section 17: Threads
Threads Intro (0:51)
Threads Basics (11:51)
Thread Start and End &Completion (9:53)
ThreadPools and Threads in The Background (9:06)
Join And IsAlive (13:35)
Tasks and WPF (24:10)
Threads Readings
Threads Outro (0:39)
Section 18: UNITY - Basics
Installing Unity
Overview of the Unity Interface (7:43)
Creating your own Layout (3:46)
Player Movement (13:11)
Making Sure We Make Changes Correctly (3:05)
Physis Basics (4:35)
RigidBody - A Physical Body (9:38)
Colliders And Their Different Types (12:04)
Triggers (10:21)
Prefabs And GameObjects (5:11)
Components And More On Prefabs (4:12)
Keeping The Hierarchy Tidy (2:29)
Mathf And Random Class
Section 19: UNITY - Building the Game Pong with Unity
Pong Introduction (2:05)
Basics - UI Elements (6:47)
Basics - Accessing Text Through Code (5:44)
Basics - Buttons (5:48)
Basics - Switching Scenes (9:35)
Basics - Play Sound (8:52)
Creating The Main Menu (15:03)
Switching Scenes and Using Buttons (9:01)
Building Our Game Scene (13:58)
2D vs 3D Colliders and Rigidbody For Our Ball (6:56)
Moving Our Ball Left And Right (11:14)
Racket Movement (9:43)
Bouncing Off Correctly (9:12)
Scoring System (8:22)
Restarting A Round (5:27)
The Game Over Screen
Adding Sound To The Game
Adding a Basic AI (5:17)
Section 20: UNITY - Building a Zig Zag Clone With Unity
Basics- Instatiating (Creating Via Code) An Object (5:02)
Basics - Invoke And InvokeRepeating For Delayed Calls And Repeated Calls (4:22)
Basics - Playerpreferences - Saving Data (6:38)
Basics - Raycast (7:48)
Setup For Zig Zag (7:31)
Setting The Perspective (7:23)
Moving The Character (6:28)
Make Camera Follow Player (3:32)
Animate The Character (13:30)
Start The Game (8:49)
Restart The Game (4:00)
Collecting Crystals And Increasing The Score (9:35)
Adding A Highscore (5:08)
Adding The Particle Effect (12:58)
Background Music Loop (6:26)
Procedural Creation Of Our Map (20:53)
Section 21: UNITY - Building a Fruit Ninja Clone With Unity
Create Fruits And Explode Them (16:22)
Fruit Spawner (16:52)
Creating Our Blade (13:38)
GUI and Bombs (21:17)
Game Over and Restart (12:12)
Adding The Highscore (9:05)
Extend The Game (6:46)
Prepare Code For Android (6:35)
Test On An Android Device (4:01)
Make Some Adjustments (2:15)
Adding Unity Ads to Your Game (6:28)
Setting Up Your Device as Developer Device (1:20)
Adding Sound (9:45)
Section 22: Thanks and Bonus
YOUR SPECIAL BONUS
CHEATSHEET - Writing our First Program
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock