In this video we try to showcase how to implement the IEnumerable interface in C#. To be hones, it's more about "why" we need to do this and that's why we try to illustrate the concept of enumerability using two scenarios that I have recently encountered in my day to day work.
Implementing interfaces is one of the most common tasks that we face as developers. Implementing interfaces that we create it's actually very easy since we know exactly why those interfaces were created and what are their purpose. But when it comes to implementing C# / .NET interfaces things a are slightly more complicated since the first thing we need to understand is why those interfaces were created and what their purpose is.
In this video we concentrate on implementing the IEnumerable interface, to be more specific. It's not just a simple tutorial, as I try to showcase the "why's" using two concrete scenarios that I have recently encountered in my day to day work!
Mentioned videos:
Implementing a Vector data type (1): • C# custom data types - Vectors (01)
Implementing a Vector data type (2): • C# custom data types - Vectors (02)
Table of contents:
1. Intro: 00:00
2. Why implementing Ienumerable on a Vector data type? 01:39
3. Implementing IEnumerable (1st scenario) 04:46
4. Implementing IEnumerable of T: 08:00
5. Implementing IEnumerable of T (2nd scenario): 12:01
#dotnet #csharp
Auf dieser Seite können Sie das Online-Video C# - Implementing the IEnumerable interface mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Codewrinkles 08 April 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,026 Mal angesehen und es wurde von 28 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!