Why does foreach on arrays and strings get lowered into a while loop that ignores IEnumerable, even though both classes implement it?

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Roslyn

    The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.

  • Honestly, I don't have a clue why these would be different. I found the relevant Roslyn code here. You can see on line 719 that this is definitely intentional:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Still No REPL for .NET Core in Visual Studio

    1 project | news.ycombinator.com | 17 Feb 2024
  • Interceptors

    1 project | news.ycombinator.com | 8 Aug 2023
  • Tentative C# 12 feature list · dotnet/roslyn · Discussion #69074

    1 project | /r/dotnet | 20 Jul 2023
  • Tentative C# 12 feature list · dotnet/roslyn · Discussion #69074

    1 project | /r/programming | 20 Jul 2023
  • How do IDEs add language support / detect the language you are using?

    3 projects | /r/learnprogramming | 2 Jun 2023