17:57Learn C# with CSharpFritz - Ep 5: Collections, Generics, and Introducing LINQ
From the creator
This is episode 5 of C# with CSharpFritz. Jeff introduces arrays, collections, generics and starts talking about LINQ in this beginner-friendly 'talk radio style' episode. Interactive Notebook with samples you can run IN BROWSER at: https://aka.ms/csharpfritz_notebooks_2020 After the C# basics sessions are completed, which user interface framework do you want Fritz to walk through FIRST? Vote for your favorite with an emote at: https://github.com/csharpfritz/csharp_with_csharpfritz/issues/13 Questions: 00:20:17 - What's the fastest way of initializing an array with the same value? 00:32:13 - What type are collection elements when you reference them using var? 00:35:51 - Is there an "Add" method for a Queue? 00:42:18 - What is difference between Stack and Queue? 00:43:46 - Can you pick any element from a Queue or Stack? For example from the middle? 00:46:05 - Can you foreach (enumerate) over a Stack? 00:48:20 - Can you peek into the n-Item of a Stack or Queue? 01:11:30 - How is a Dictionary different than the prior example with the file extensions? 01:15:22 - Is it possible to make a generic object with type Object? 01:39:21 - With LINQ, do you prefer two Where clauses or &&? Background Music is Harris Heller's Streambeats - Synthwave playlist, available royalty free at https://open.spotify.com/playlist/2gj... Source code and interactive content from the stream are available at: https://github.com/csharpfritz/csharp_with_csharpfritz Watch live Mondays at 1300 UTC / 9a
Published 2020-09-18 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





