CodeGym/Courses/C# Course

C# Course

Want to master C# and enter the Microsoft ecosystem? You'll go from your first program to enterprise development in C# and .NET. 68 levels of practice: OOP, asynchronous programming, multithreading, LINQ, files. Hundreds of tasks with instant verification. From console applications to readiness to work at top companies. C# is the foundation for Unity game development!
4.9
500+ reviews
30K graduates built careers in IT
Learn More
Detailed training program
  • Commands and first program
  • Introduction to int and string types. Keyboard input
  • Conditional operator
  • Loops
  • IDE installation, CodeGym plugin, Debug basics
  • Floating-point numbers
  • Arrays
  • Functions / Methods
  • Advanced string operations
  • Constants, var keyword, basic arithmetic operators
  • Nullable Reference Types (NRT)
  • Exceptions try, catch, finally
  • enum, switch, and pattern matching
  • Value Tuples and Local functions
  • Working with dates, time and timezones
  • Classes, Objects and Constructors
  • Access modifiers and Properties
  • Indexers and Extension Members (C# 14)
  • Records – Immutable data types
  • Inheritance and Class hierarchies
  • Polymorphism
  • Abstraction
  • Interfaces: Basics and Contracts
  • Advanced Interfaces: Default Interface Methods and Static members
  • Common mistakes and OOP best practices
  • Introduction to version control: working with Git and GitHub
  • Module final project
  • Collection types and Generics
  • Core collection interfaces (IEnumerable, IList, IDictionary)
  • Collection methods: sorting, filtering, searching
  • Comparators and object comparison
  • LINQ basics: simple queries and data filtering
  • Advanced LINQ: Grouping and Aggregate functions (with new .NET 9 methods)
  • Advanced LINQ: Joins and Projections
  • Collection optimization and high-performance types
  • File handling basics in C#
  • Reading and writing files (StreamReader, StreamWriter)
  • Working with file encodings
  • Error handling and file security
  • Working with file system (File, FileInfo, Directory, DirectoryInfo)
  • File and directory management (create, copy, delete, move)
  • I/O optimization (BufferedStream and other methods)
  • Asynchronous file operations (ReadAsync, WriteAsync, etc.)
  • Serialization and deserialization concepts
  • Classes and libraries for .NET serialization
  • Object serialization and deserialization
  • Collection and complex object serialization
  • Working with JSON data
  • Working with XML data
  • Lambda expressions in C#
  • Relationship between lambda expressions and delegates
  • Functional programming basics: anonymous functions, higher-order functions
  • Events in C#: concepts, creation, handling and EventHandler
  • Event lifecycle: subscription, unsubscription, management
  • Event-delegate programming best practices
  • Multithreading basics in C#: creating and managing threads
  • Thread synchronization and shared resource management
  • Common multithreading problems: race conditions, deadlock
  • Asynchronous programming: async, await, asynchronous methods
  • Using tasks (Task) and parallel computing (Parallel.For, Parallel.ForEach)
  • Error and exception handling in multithreaded and asynchronous code
  • Advanced synchronization mechanisms
  • Deep dive into Asynchrony (ValueTask, Channel, Async code testing)
  • Regular expression basics and syntax
  • Practical regular expression usage with Regex class
  • Reflection, dynamic types and Source Generators
  • Logging, monitoring and tracing
  • Overview of key .NET 9 improvements and future trends
300+
Lessons
400+
Tasks
68
Tests
And also:
  • Instant task verification
  • AI code validator
  • IDE plugin
  • WebIDE
  • Gamification
  • Motivational lectures