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
  • Introduction to anonymous methods ( delegate)

    C# SELF
    49 level,0 lecture
    Anonymous methods in C# are a concise way to pass behavior "in place" without declaring a named method. In this lecture we'll go over how anonymous methods work via delegates, compare them with lambda expressions, look at closures (capturing variables) and cover common pitfalls, for example with loops. Lots of examples: filtering, sorting, collection processing.
    Open
  • Lambda expression syntax ( =>)

    C# SELF
    49 level,1 lecture
    We break down lambda expressions in C#: from the basic syntax ( =>) to practical use with collections, events and the standard delegates Action, Func, Predicate. We'll compare them with anonymous and named methods, look at block lambdas with return, and go over common mistakes.
    Open
  • Lambda expressions in collections and LINQ

    C# SELF
    49 level,2 lecture
    A practical guide to using lambda expressions with collections and LINQ in C#: filtering, projections, sorting, counts and condition checks. We'll go through the standard delegates Func, Action, Predicate, look at query chains and discuss common traps like deferred execution and materializing results.
    Open
  • Advantages and Disadvantages of Lambda Expressions =>

    C# SELF
    49 level,3 lecture
    We break down why lambda expressions are useful in C#, their strengths and weaknesses: conciseness and expressiveness in LINQ, closures, callbacks and testability — and also the difficulties with debugging, readability, variable capturing and performance. We'll show practical examples, common mistakes and recommendations on when lambdas make sense and when a named method is better.
    Open
  • Variable capture ( Closures)

    C# SELF
    49 level,4 lecture
    We break down what closures are in C#, how the compiler implements variable capture via a display class, why variables are captured by reference, and how to avoid common traps in loops, events, async code and LINQ. With examples, explanations and practical scenarios.
    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