
Is this the C# course for you? Watch and find out!
A video telling you all about myself and my passion for teaching.
What is C# and why should I learn this programming language?
Getting started! How to download and install Microsoft Visual Studio
Create a Mr. Beast logo in C#!
Learn how to declare and initialize a string variable in C#, and see how it displays hello world. Grasp declaration vs initialization and note common uninitialized variable errors.
Learn how C# combines strong and static typing to catch type errors at compile time, ensuring variables like first name stay strings.
Discover how to join strings with the plus operator, create readable output with whitespace, and use substring, indexOf, replace, and length with zero-based indexing in C#.
Learn to capture user input in a C# console app by reading a line, storing it in a string, and greeting the user with a concatenated message.
Build a small C# number multiplier that reads two numbers from the user, converts them from string to int 32, multiplies them, and displays the result.
Learn to create and call methods in C#, organize code with a main method, and print hello world using simple static void method definitions.
Define and pass method parameters to customize output, using name and age to greet users and convert inputs for multiple parameters.
Learn how method overloading in C# lets one method with the same name handle different parameter types, such as adding integers or doubles, reducing code bloat.
Master using comments in C# to document code with single-line, multi-line, and XML summary tags, including method notes, parameters, and return values, improving readability for you and your team.
Explore conditions in C# with if and else statements, learn about boolean logic, the equality operator, and curly braces through the rhubarb example that greets Bob.
Learn how else if statements customize greetings for Bob, Henry, and others in C#, and when braces are optional for single-line conditions.
Learn how equality and inequality operators work in C# using == for equality and != for inequality. See how these operators affect simple if statements about a name.
Explore comparison operators in C# with a simple if-else app that classifies input as low or high. Use less than, greater than, and not equal to to drive conditional logic.
Build a sample calculator in C# by collecting two numbers and an operator, converting input to doubles, using if/else to perform add, subtract, multiply, or divide, and displaying the result.
Explore switch statements in C#, and how they compare to if and else if chains. Learn cases, breaks, default handling, and when switch improves readability and performance with options.
Master conditional operators in C# by using the ternary form to replace if-else with a single line, choosing between true and false results based on a condition.
Explore arrays as a compact way to store multiple values, initialize and access them by index in C sharp, and handle bounds and type variations with integers and strings.
Learn looping in C sharp with the while loop, using a counter to count from one to the user's number and print each step, then test for infinite loops.
Explore the do while loop, a variant of the while loop that executes at least once. Compare it to a standard while loop using a user input counter.
Draw a cube pattern by taking a user number and using a for loop with a nested loop to print asterisks across and down, using write and writeLine.
Explore the break statement in C# to escape switch statements and loops, and control program flow. See how it stops infinite loops in while constructs and ensures smooth continuation.
Explore how the continue statement skips one iteration in a for loop, prevents the rest of the loop body from executing, and contrasts with break.
Practice exception handling in C# using try, catch, and finally to gracefully handle user input errors such as format and division by zero, and provide meaningful feedback.
Learn how to use two-dimensional, three-dimensional, and multidimensional arrays in C#, with a chessboard-like grid and zero-based indexing. Practice initialization and access with row and column indices, exploring 32 dimensions.
Practice solving with two-dimensional arrays by scanning a chessboard to locate all queens and print their coordinates using two nested loops and get length for dimensions.
Discover how C# lists extend arrays with generics, enabling initialization from existing collections and dynamic add, remove, sort, and reverse operations.
Learn how constructors in C# simplify object creation by initializing fields with parameters, reducing code, and supporting multiple constructors for flexible object setup.
Demonstrate object methods in C# by moving retirement logic into a class method that returns a boolean, then loop through users to show retirement status.
Explore how access modifiers in C# enforce encapsulation in a video game class. Keep the unique ID private, while exposing name, publisher, and rating publicly within the project.
Explore how C# properties enforce encapsulation with getters and setters, validate inputs, and control access to private fields, including read-only properties and private setters in practice.
Understand multilevel inheritance in C# with an animal base class, a carnivore and herbivore intermediate class, and dog and cat as descendants, each overriding make noise.
Explore abstract classes and abstract methods in C#, enforcing contracts for derived animals. Learn how these abstractions prevent instantiation, require overrides, and enable polymorphism through templates and virtual methods.
Learn how the base keyword and base class constructors let a dog access inherited members and pass name and age to the base, then set breed.
This C# course is designed for absolute beginners in mind!
It assumes ZERO experience in any kind of programming. If you want to get started with programming in C#, then you've found the right place!
Whether you want to learn C# for: a job opportunity, a hobby, a supplement for university or college etc, then this course is perfect for that!
This course uses Microsoft Visual Studio, so our lessons will get you well aquainted with the software along the way.
Want to develop video games in Unity? Did you know that Unity uses C# behind the scenes? This course will give you a strong C# foundation for game development in Unity.
You will learn the same (and more) C# programming knowledge than a university graduate student. I know because I went to university myself! I have been teaching software development since 2003, so just over 20 years now!
You will begin by learning the core features of programming: variables, methods, loops, conditions and data types. You will then move on to learn about Object Orientated Programming (O-O): Classes and objects, inheritance, polymorphism, abstraction, encapsulation etc, and then onto more advanced features of C# and the .NET framework, such as: file-handling, recursion, dealing with exceptions (errors), method overloading, debugging and lots lots more!!
By the end of this course you will have built a really solid foundation of, not only C#, but programming concepts, programming knowledge and typical industry programming practices.
All of the source code for the sample projects are included and ready for you to download.
This course is designed to keep you engaged throughout. It includes many coding examples and exercises so that you can test your knowledge of everything you have learned.
There is a final project at the end of this course. This final project is an optional challenge should you wish to undertake it!