IEnumerable vs IReadOnlyList in .NET: When Should You Use Each?
If you’re working in C# and .NET, you’ll quickly run into different collection interfaces like IEnumerable<T> and IReadOnlyList<T>. At first glance, they seem pretty similar—both let you work with a… Weiterlesen »IEnumerable vs IReadOnlyList in .NET: When Should You Use Each?