Language Basics
Fundamentals of C# syntax, type system, and control flow. The first stop for beginners to grasp the logic of the language.
Language Basics
For anyone starting with C#, this section covers syntax, basic data types, operators, conditional statements, and loops. Exception handling and the concept of namespaces are also included as the building blocks every developer must know.
Goal: Learn syntax and control flow to prepare for more advanced concepts.
TL;DR
if,switch,for,foreachstructures.- Basic types:
int,string,bool. - Error handling:
try/catch/finally.
Introduction to C# and the .NET Ecosystem
C# is a modern, safe, and object-oriented language. With the .NET ecosystem, it is possible to develop web, mobile, desktop, and game applications.
First C# Project
First console app in C# with Visual Studio 2022: usage of WriteLine, ReadKey, and ReadLine.
C# Basic Data Types
Basic data types in C#: numeric, text, logical, object-based, and nullable types.
C# Syntax Structure
Learn the basics of C# syntax, including code blocks, comments, and variable naming rules, with clear explanations and practical examples.
C# Operators and Expressions
Operators and expressions in C#: arithmetic, comparison, logical, increment/decrement, ternary, and null-coalescing usage.
C# Conditional Statements (if, else, switch)
Decision structures in C#: learn how to use if, else if, else and switch to perform different actions based on conditions.
C# Loops (for, foreach, while, do-while)
Learn how to use for, foreach, while, and do-while loops in C#. Discover practical examples for handling repeated operations in C# applications.
C# Console Commands
Learn how to work with the C# console by writing output, reading user input, and formatting text with practical examples.
C# String Operations
Learn how to work with strings in C#, including concatenation, searching, substring, IndexOf, and other essential string operations.
C# Type Conversions
Learn how type conversions work in C#, including implicit and explicit casting, Parse, TryParse, and Convert methods with examples.
Using Constants and Enums in C#
Learn how to use constants and enums in C# to write cleaner, safer, and more maintainable code with clear explanations and examples.
C# Math Library
Learn how to use the C# Math library, including Pow, Sqrt, Round, Abs, and other essential mathematical methods with examples.
C# Boolean Operations
Learn how boolean operations work in C#, including the bool type, comparisons, and logical operators like &&, ||, and ! with examples.
DateTime & TimeSpan Operations in C#
Learn how to work with DateTime and TimeSpan in C# to perform date and time operations such as comparison, addition, subtraction, and formatting.
Random Operations in C#
Learn how to use the Random class in C# to generate random numbers, values, and selections using Next, NextDouble, and examples.
Methods and Parameter Usage in C#
Learn how to define methods and use parameters in C#, including value and reference parameters, optional parameters, and examples.
C# Exception Handling (try, catch, finally)
Learn how to handle exceptions in C# using try, catch, and finally blocks to manage errors safely with clear examples.
Namespaces and Assemblies in C#
Learn how namespaces and assemblies work in C# to organize code, manage dependencies, and structure projects effectively.