JavaRush
AI Academy
new
Promotion
Learning
Courses
Tasks
Quizzes
Games
Help
Schedule of nudges
Internship
Community
Users
Forum
Chat
Articles
Activities
Reviews
Subscriptions
Light theme

Lectures

  • Reviews
  • About us
  • CS50
Start
Start learning
Start learning
  • My progress
  • Courses
  • Quest map
  • Lectures
  • Reflection: System.Reflection

    C# SELF
    63 level,0 lecture
    In this lecture we'll go over how to inspect types and members at runtime using the System.Reflection namespace: how to get a Type, find GetProperties(), GetMethods(), invoke methods via Invoke, and create objects with Activator.CreateInstance. We'll talk about BindingFlags, dynamic access to values, and common pitfalls so you can use reflection intentionally and efficiently.
    Open
  • Using reflection

    C# SELF
    63 level,1 lecture
    In this lecture you'll learn how to inspect types via Type and the MemberInfo family, get fields/properties/methods using BindingFlags, dynamically create objects via Activator and ConstructorInfo, change values with SetValue and call methods with Invoke. We'll talk about overloads, accessing private members, performance and common mistakes.
    Open
  • Dynamic types ( dynamic) and the DLR

    C# SELF
    63 level,2 lecture
    In this lecture we dive into the dynamic keyword and the DLR platform: how dynamic differs from object, how dynamic binding is performed at runtime, where dynamic is actually useful (COM, JSON, ExpandoObject, integration with IronPython), and where it leads to errors and performance loss. We'll compare static and dynamic approaches, look at practical examples and common pitfalls.
    Open
  • Introduction to Source Generators

    C# SELF
    63 level,3 lecture
    What Source Generators are, how they work together with Roslyn, why they're useful for automating boilerplate code and improving performance, how to create your own generator (from the [Generator] attribute to calling context.AddSource), plus a real example of auto-generating the ToString method and practical tips for debugging and common pitfalls.
    Open
  • Source Generators and System.Reflection.Emit

    C# SELF
    63 level,4 lecture
    In this lecture we'll walk through how to use Source Generators to generate source code at compile time and when to use System.Reflection.Emit to create types at runtime. We'll cover common scenarios (serialization, DI, mapping, proxies), show diagrams, code examples, a comparison of approaches and practical recommendations with gotchas.
    Open
Courses
  • Java Course
  • Python Course
  • Development with Claude Code
  • All 16 courses
University
  • Java FullStack
  • Python FullStack
  • AI Native Developer
  • Web FullStack
Community
  • Articles
  • Forum
  • Help with Tasks
Company
  • About us
  • Contacts
  • Reviews
  • Pricing
  • Questions and answers
JavaRush JavaRush: online courses in Java and other programming languages, where you learn by solving tasks. We started in 2012 with a Java course, and today there are 16 courses: Java and Spring, Python, web development, SQL, Go, C#, C++, Kotlin, Swift, Docker and AI development. More than 10,000 tasks with instant checks, and the first level of any course is free. Learn on your own or with a mentor at JavaRush University.
Follow us
Язык интерфейса
Русский
English
Українська
"Programmers are not born" © 2026 JavaRush Terms of Use and Privacy policy
MastercardVisa
"Programmers are not born" © 2026 JavaRush Terms of Use and Privacy policy