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
  • The Role of Interfaces in C# Collections

    C# SELF
    28 level,0 lecture
    In this lecture, you'll find out why collections in C# need interfaces, how they make your code flexible and universal, what the main interfaces for collections are, how to use them to write generic methods, and what mistakes people often make when working with collections through interfaces. All with examples, diagrams, and practical tips!
    Open
  • Enumerability Contract: IEnumerable<T>

    C# SELF
    28 level,1 lecture
    In this lecture, you'll learn how the IEnumerable<T> interface works in C#, why the foreach loop is universal for collections, how enumerators work, and how to make your own collection that's compatible with LINQ and standard .NET tools. Examples, diagrams, and common mistakes will help you get how to build universal and safe code for working with collections.
    Open
  • Collection Contract: ICollection<T>

    C# SELF
    28 level,2 lecture
    In this lecture, you'll find out how the ICollection<T> interface takes your collection game in C# to the next level: adding, removing, counting, copying elements, and access control. We'll break down how to use ICollection<T> for generic code, compare how different collections behave, look at common mistakes, and check out some practical examples for real-world apps.
    Open
  • Index Access Contract: IList<T>

    C# SELF
    28 level,3 lecture
    In this lecture, you'll find out how the IList<T> interface gives you access to collection elements by index, which collections implement it, how to use indexers, insert and remove methods, and what typical mistakes happen when working with indexable collections. All with examples, diagrams, and practical tips!
    Open
  • Dictionary Contract: IDictionary<TKey, TValue>

    C# SELF
    28 level,4 lecture
    In this lecture, you'll find out what the IDictionary<TKey, TValue> interface is in C#, why you need it, what operations and properties any dictionary should support, how to use this contract for generic code, and what typical mistakes happen when working with "key-value" collections. All with examples, tables, and practical tips!
    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