C#/.NET

Learn C# and .NET in depth: types, OOP, records, generics, null safety, LINQ, async/await, concurrency, memory, exceptions and modern C# 14 features.

कोर्स शुरू करें →

आप क्या सीखेंगे

  • Explain how C# compiles to IL and runs on the CLR, and set up projects with the dotnet CLI.
  • Write clear C# with value and reference types, methods, control flow and pattern matching.
  • Model domains with classes, interfaces, inheritance, records and structs.
  • Use generics, nullable reference types, delegates, lambdas, collections and LINQ correctly.
  • Write asynchronous and concurrent code with async/await, cancellation and thread-safe primitives.
  • Manage resources, exceptions and allocations, and apply modern C# idioms, tooling and tests.

पाठ्यक्रम

C# and the .NET Platform

  1. What .NET Is
  2. Projects, Program.cs and the dotnet CLI
  3. Types, Variables and Value vs Reference

Control Flow, Methods and Pattern Matching

  1. Branches and Loops
  2. Methods and Parameters
  3. Switch Expressions and Pattern Matching

Classes, Interfaces and Records

  1. Classes, Constructors and Properties
  2. Inheritance, Interfaces and Polymorphism
  3. Records, Structs and Equality

Generics, Nullability and Delegates

  1. Generics and Constraints
  2. Nullable Types and Null Safety
  3. Delegates, Lambdas and Events

Collections, LINQ and Iterators

  1. Choosing a Collection
  2. LINQ
  3. IEnumerable and yield return

Asynchronous and Concurrent Programming

  1. async and await
  2. Concurrency with Tasks and Cancellation
  3. Threads, Locks and Thread Safety

Memory, Exceptions and Performance

  1. Garbage Collection and IDisposable
  2. Exceptions
  3. Allocation-Aware Code: Span, Strings and Boxing

Tooling, Modern C# and Revision

  1. NuGet, Testing and Analyzers
  2. Modern C# Features
  3. Idiomatic C# and Common Pitfalls
  4. C# Revision and Interview Questions