C# Fundamentals
C# is the preferred language to build .NET applications. In this course, you will learn the basics of the C# language and create your own C# applications
What you'll learn
C# offers an extended set of tools to build all types of applications, including web, mobile, and cloud-based applications. In this course, C# Fundamentals, you’ll learn the fundamentals of C# application development. First, you’ll see the syntax of the C# language including decision and iteration statements, methods, and operators. Next, you’ll explore object-oriented development with the C# language with classes and objects. Finally, you’ll learn how to work with classes of the .NET class library including how to work with files and handle exceptions. When you’re finished with this course, you’ll have the skills and knowledge of C# needed to build real C#-based applications.
Table of contents
- Module Introduction 7m
- Hello C# 3m
- Setting up Your Environment 3m
- Demo: Setting up Your Environment Using Visual Studio 1m
- Building Your First C# Program Using Visual Studio 2m
- Demo: Creating Your First C# Application 4m
- Demo: Writing C# Code 5m
- Checkpoint 01 - Console 0m
- Demo: Exploring the Files in a C# Application 4m
- Checkpoint 02 - Syntax error 0m
- Debugging Our Code 4m
- Demo: Debugging in Visual Studio 4m
- Exercise 01 - Greeting app 0m
- Building Applications Using the CLI 5m
- Demo: Building Applications Using the CLI 5m
- Demo: Using the C# Dev Kit 5m
- Demo: Using the Docs 1m
- Summary 1m
- Module Introduction 1m
- Understanding the Essential C# Building Blocks 8m
- Demo: Using the Essential C# Building Blocks 4m
- Checkpoint 03 - int variable 0m
- Working with Built-in Types 6m
- Demo: Working with Primitive Types 4m
- Demo: Using Constant Values 2m
- Checkpoint 04 - string console 0m
- Getting to Know Strings 2m
- Checkpoint 05 - bool 0m
- Demo: Creating Strings 1m
- C# Operators 2m
- Checkpoint 06 - decimal 0m
- Demo: Using Operators in C# 5m
- Checkpoint 07 - constants 0m
- Members On Primitive Types 2m
- Demo: Working with Members on Primitive Types 3m
- Using Date and Time in C# 2m
- Checkpoint 08 - string 0m
- Demo: Working with DateTime 6m
- Converting Between Types 2m
- Demo: Converting Between Types 2m
- Checkpoint 09 - Sum of ints 0m
- Implicit Typing 3m
- Checkpoint 10 - Compound operator 0m
- Demo: Using var 2m
- Summary 1m
- Checkpoint 11 - char 0m
- Checkpoint 12 - char methods 0m
- Checkpoint 13 - DateTime 0m
- Checkpoint 14 - Casting 0m
- Checkpoint 15 - Implicit typing 0m
- Exercise 02 - Sum calculation 0m
- Module Introduction 1m
- Working with Boolean Values 4m
- Demo: Working with relational Operators 3m
- Checkpoint 16 - Relational operators 1 0m
- Making Decisions with the if Statement 6m
- Checkpoint 17 - Relational operators 2 0m
- Demo: Using if Statements 4m
- Checkpoint 18 - Logical operators 0m
- Using the switch Statement 4m
- Demo: Using the switch Statement 4m
- Adding Iterations 3m
- Checkpoint 19 - Conditional 1 0m
- Demo: Creating a while Loop 6m
- Checkpoint 20 - Conditional 2 0m
- Using the do while and the for Loop 4m
- Checkpoint 21 - Conditional 3 0m
- Demo: More Loops 4m
- Exercise 03 - Conditionals 0m
- Summary 1m
- Checkpoint 22 - while 0m
- Exercise 04 - Loops 0m
- Checkpoint 23 - for 0m
- Module Introduction 1m
- Understanding Methods 9m
- Demo: Creating and Using Methods 8m
- Checkpoint 24 - Methods 0m
- Demo: Adding a Helper File 4m
- Checkpoint 25 - Method invocation 0m
- Finding the Correct Method 2m
- Demo: Using Method Overloading 3m
- Exercise 05 - Methods 0m
- Understanding Variable Scope 2m
- Checkpoint 26 - Utility class 0m
- Demo: Using Variable Scope 1m
- More Options with Methods 3m
- Demo: Using Optional Parameters and Named Arguments 4m
- Checkpoint 27 - Method overloading 0m
- Demo: Using Expression-bodied Members 2m
- Introducing the Main Method 3m
- Demo: Exploring the Main Method 2m
- Summary 1m
- Checkpoint 28 - Optional parameters 0m
- Checkpoint 29 - Named arguments 0m
- Exercise 06 - Methods and their parameters 0m
- Checkpoint 30 - Expression bodied 0m
- Module Introduction 1m
- Demo: A Small Recap on Strings 1m
- Working with Strings 5m
- Demo: Working with Strings 6m
- Checkpoint 31 - String lowercase 0m
- Using Escape Characters 2m
- Checkpoint 32 - String contains 0m
- Demo: Using Escape Characters 3m
- Checkpoint 33 - String Plus 0m
- Testing Strings for Equality 1m
- Checkpoint 34 - String interpolation 0m
- Demo: Comparing Strings 1m
- Exercise 07 - Remove vowels 0m
- Parsing Strings from Other Types 1m
- Demo: Parsing Strings 2m
- Summary 1m
- Checkpoint 35 - Escape characters 0m
- Exercise 08 - String equality 0m
- Checkpoint 36 - String parsing 0m
- Module Introduction 1m
- Understanding Classes 10m
- Demo: Creating the Employee Class 7m
- Checkpoint 37 - Class creation 0m
- Using Objects 10m
- Checkpoint 38 - Class method 0m
- Demo: Creating an Object 8m
- Demo: Working with Several Objects 2m
- Summary 1m
- Checkpoint 39 - Object creation 0m
- Checkpoint 40 - Constructor 0m
- Checkpoint 41 - Using objects 0m
- Exercise 09 - Vehicle class and objects 0m
- Module Introduction 1m
- Value Types and Reference Types 4m
- Demo: Working with Value and Reference Types 2m
- Method Parameters 3m
- Demo: Passing Parameters by Value and by Reference 4m
- Checkpoint 42 - Pass by ref 0m
- Demo: Using out 2m
- Strings Are Reference Types Too 4m
- Checkpoint 43 - Using out 0m
- Demo: Strings Are Reference Types 5m
- Working with Custom Types 4m
- Demo: Custom Types 8m
- Checkpoint 44 - StringBuilder 0m
- Creating Enumerations 2m
- Demo: Creating Enumerations 4m
- Working with Structs 1m
- Demo: Creating a Struct 2m
- Summary 1m
- Checkpoint 45 - Enum 1 0m
- Checkpoint 46 - Enum 2 0m
- Exercise 10 - Enumerations 0m
- Checkpoint 47 - Struct 0m
- Exercise 11 - Structs 0m
- Exercise 12 - Namespaces 0m
- Module Introduction 1m
- Grouping Classes in Namespaces 3m
- Demo: Working with Namespaces 5m
- Checkpoint 48 - Namespaces 0m
- Introducing Static Data 3m
- Demo: Using Static 5m
- Exercise 12 - Namespaces 0m
- Working with Null 4m
- Demo: Using Null 5m
- Checkpoint 49 - Static 0m
- Understanding Garbage Collection 2m
- Demo: Using Garbage Collection 4m
- Exercise 13 - Static 0m
- Demo: Using a Class Library 5m
- Introducing Records 6m
- Checkpoint 50 - null 0m
- Demo: Using Records 2m
- Summary 1m
- Checkpoint 51 - External class 0m
- Module Introduction 1m
- Understanding Arrays 8m
- Demo: Creating Arrays 5m
- Checkpoint 52 - Simple array 0m
- Demo: Working with an Array of Employee Objects 4m
- Checkpoint 53 - Array initialization 0m
- Demo: Working with Arrays 5m
- Checkpoint 54 - Accessing elements in an array 0m
- Working with Collections 3m
- Checkpoint 55 - Array looping 0m
- Demo: Using the List<T> 7m
- Summary 1m
- Checkpoint 56 - Object array 0m
- Checkpoint 57 - Array sort 0m
- Checkpoint 58 - Array length 0m
- Exercise 14 - Arrays 0m
- Checkpoint 59 - List creation 0m
- Checkpoint 60 - List contains 0m
- Checkpoint 61 - List length 0m
- Checkpoint 62 - List insert 0m
- Checkpoint 63 - List of objects 0m
- Exercise 15 - Lists 0m
- Module Introduction 1m
- Understanding Object-oriented Programming Principles 7m
- Adding Encapsulation 5m
- Demo: Adding Encapsulation 8m
- Bringing in Inheritance 3m
- Checkpoint 64 - Properties 0m
- Checkpoint 65 - Using properties 0m
- Creating a Base and Derived Class 4m
- Demo: Creating a Base and Derived Class 11m
- The Is-A Relation 1m
- Demo: The Is-A Relation 2m
- Checkpoint 66 - Inheritance 0m
- Demo: Understanding Composition 4m
- Checkpoint 67 - Access modifiers 0m
- Using Polymorphism 6m
- Checkpoint 68 - Private and protected 0m
- Demo: Using Polymorphism 5m
- Introducing Interfaces 4m
- Demo: Using Interfaces 5m
- Checkpoint 69 - Is A 0m
- Summary 1m
- Checkpoint 70 - Composition 0m
- Checkpoint 71 - Polymorphism 0m
- Exercise 16 - OO 0m
- Checkpoint 72 - Interfaces 0m
- Module Introduction 1m
- Demo: Setting Up the Application Structure 7m
- Working with Files from C# 4m
- Demo: Working with the File and Directory Classes 3m
- Checkpoint 75 - File exists 0m
- Reading and Writing Text 2m
- Checkpoint 76 - Directory exists 0m
- Demo: Reading and Writing Text 8m
- Summary 1m
- Checkpoint 77 - File read 0m
- Checkpoint 78 - File write 0m
- Exercise 18 - File parsing 0m
- Exercise 19 - File writing 0m
- Module Introduction 1m
- Understanding Exceptions in Code 2m
- Using a try/catch Block 5m
- Demo: Working with try/catch 3m
- Checkpoint 79 - Try catch 0m
- Demo: Using the Exception Details 5m
- Catching Several Types of Exceptions 3m
- Checkpoint 80 - StackTrace 0m
- Demo: Catching Multiple Exception Types 2m
- Demo: Adding a finally Block 2m
- Summary 0m
- Checkpoint 81 - Exception types 0m
- Checkpoint 82 - Finally 0m
- Exercise 20 - Exception handling 0m
Course FAQ
C# (C sharp) is a programming language that was developed by Microsoft in 2001. C# 10 is the most current version of C#, offering an extended set of tools to build all types of applications, including web, mobile, and cloud-based applications
No, they are not the same. Utlimately C# is easier to learn and more commonly used. C++ is considered a "low level" programming language, while C# is "high level". C++ compiles into machine code, while C# compiles programs to CLR (Common Language Runtime).
This course will help you learn C# fundamentals and how to create your own C# applications. Some topics covered include:
- Writing C# code
- Setting up your coding environment
- Debugging your code
- Learning the C# syntax
- How to add decisions and iterations
- Using Methods and operators in C#
- Strings, objects, classes, arrays, and lists
- Object-oriented programming principles
This course is for anyone who wants to learn C# from the ground up. If you want the skills and knowledge to build C# applications, then this is the perfect place to start.
Nope! This is a beginner level C# course intended for those who are new to the programming language. Just bring a thirst for knowledge and be prepared to put the modules into practice along the way.