Data and Collections
Arrays, collections, generics, and LINQ for effective data handling and querying in C#.
Data and Collections
In C# applications, data is managed through arrays, lists, and dictionaries. Generics ensure type safety, while LINQ makes it easy to query and transform data.
This section also introduces file input/output operations and using Entity Framework Core for database queries.
TL;DR
- Collections:
List<T>,Dictionary. - LINQ:
Where,Select,GroupBy. - File operations:
StreamReader,StreamWriter.
Arrays in C#
Learn arrays in C#, including declaration, indexing, looping through elements, and common array operations with examples.
Collections in C#: List, Dictionary, Queue, Stack
Learn C# collections like List, Dictionary, Queue, and Stack to store and manage data efficiently with practical examples.
Generics in C# (List<T>, Dictionary<TKey,TValue>)
Learn generics in C#, including List<T> and Dictionary<TKey,TValue>, to write type-safe and reusable code with examples.
LINQ Basics in C# (Where, Select, OrderBy)
Learn LINQ basics in C# using Where, Select, and OrderBy to query, filter, and sort collections with practical examples.