IEnumerable 🆚 IEnumerator Interfaces in C#
Today's Advanced C# Topic is: IEnumerable and IEnumerator Interfaces
Check out my Complete C# Masterclass here: https://bit.ly/38xC6WW
WPF Masterclass: https://bit.ly/2PZIpMn
In this video you will learn what IEnumerable and IEnumerator are
What are advantages of IEnumerable and IEnumerator
When to use them
How to use them
What are advantages of using IEnumerable and IEnumerato
How IEnumerator and IEnumerable are related to lists, arrays, and other types of colletions.
The IEnumerable interface is the base Interface for many collections in C#, and its job is to provide a way of iteration through a collection. That is why we can use foreach loops to go through a List or a Dictionary. In simple English when a collection class implements the IEnumerable interface it becomes countable, and we can count each element in it individually
There are 2 versions of the IEnumerable Interface
1.IEnumerable for generic collections
2.IEnumerable for non generic collections
But since generic collections were introduced later after the non-generic ones and it is no longer recommended to use the non-generic collections in a new project due to their need to perform boxing and unboxing (converting the types of objects), we will explain how to use the IEnumerable T interface in this lesson
when it is recommended to use the IEnumerable interface:
- Your collection represents a massive database table, you don’t want to copy the entire thing into memory and cause performance issues in your application.
When it is not recommended to use the IEnumerable interface:
- You need the results right away and are possibly mutating / editing the objects later on. In this case, it is better to use an Array or a List
ienumerable vs ienumerator C#
implementing ienumerable and ienumerator
use of ienumerable and ienumerator in c#
ienumerator in c example
ienumerable vs ienumerablet
why we use ienumerable in c
ienumerable vs enumerable c
ienumerator in c# geeksforgeeks
interface in c# with example code project
tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
Stay tuned and subscribe to tutorialsEU: https://goo.gl/rBFh3x
Видео IEnumerable 🆚 IEnumerator Interfaces in C# канала tutorialsEU
Check out my Complete C# Masterclass here: https://bit.ly/38xC6WW
WPF Masterclass: https://bit.ly/2PZIpMn
In this video you will learn what IEnumerable and IEnumerator are
What are advantages of IEnumerable and IEnumerator
When to use them
How to use them
What are advantages of using IEnumerable and IEnumerato
How IEnumerator and IEnumerable are related to lists, arrays, and other types of colletions.
The IEnumerable interface is the base Interface for many collections in C#, and its job is to provide a way of iteration through a collection. That is why we can use foreach loops to go through a List or a Dictionary. In simple English when a collection class implements the IEnumerable interface it becomes countable, and we can count each element in it individually
There are 2 versions of the IEnumerable Interface
1.IEnumerable for generic collections
2.IEnumerable for non generic collections
But since generic collections were introduced later after the non-generic ones and it is no longer recommended to use the non-generic collections in a new project due to their need to perform boxing and unboxing (converting the types of objects), we will explain how to use the IEnumerable T interface in this lesson
when it is recommended to use the IEnumerable interface:
- Your collection represents a massive database table, you don’t want to copy the entire thing into memory and cause performance issues in your application.
When it is not recommended to use the IEnumerable interface:
- You need the results right away and are possibly mutating / editing the objects later on. In this case, it is better to use an Array or a List
ienumerable vs ienumerator C#
implementing ienumerable and ienumerator
use of ienumerable and ienumerator in c#
ienumerator in c example
ienumerable vs ienumerablet
why we use ienumerable in c
ienumerable vs enumerable c
ienumerator in c# geeksforgeeks
interface in c# with example code project
tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
Stay tuned and subscribe to tutorialsEU: https://goo.gl/rBFh3x
Видео IEnumerable 🆚 IEnumerator Interfaces in C# канала tutorialsEU
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Interfaces in C# - What they are, how to use them, and why they are so powerful.IEnumerable vs IQueryable C# | C# Interview Questions | Csharp Interview Questions and AnswersSerialize XML C# | Deserialize XML C# [XML Parser C#] - XML to Object C# - List to XML C#👨💻Interfaces in C# Explained - In-Depth guide on how to use interfacesC# Yield Return: What is it and how does it work?C# IEnumerable deep dive in simple words and practical examplesEnumerables (IEnumerable, IEnumerator) | C# Programming Tutorials Beginners: 17Intro to Yield in C# - What it is, how to use it, and when it is usefulWhat are Delegates? (C# Basics, Lambda, Action, Func)Better C# - Class Architecture7 awesome improvements for LINQ in .NET 6c# (Csharp) and .NET :- Difference between IEnumerable and IEnumerator.How to write "smarter" enums in C#What are ASYNC and AWAIT in C#? Asynchronous Programming TutorialCovariance and Contravariance Clearly Explained in C# - A Deeper LookHow Functional Programming Can Make You A Better DeveloperDynamic Vs Var in C#C# Generics Tutorial: Whats and Whys | Mosh📚What is a Dictionary in C#?