Is there a reason why a WithIndex() extension method isn't apart of the standard library?

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
  • csharplang

    The official repo for the design of the C# programming language

  • There was a fairly long discussion about this on the csharplang repo. And while the consensus there seems to be that such a method should be added, AFAICT, nobody actually created an issue about this on the runtime repo (which is what needs to happen for this to move forward).

  • .NET Runtime

    .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.

  • There was a fairly long discussion about this on the csharplang repo. And while the consensus there seems to be that such a method should be added, AFAICT, nobody actually created an issue about this on the runtime repo (which is what needs to happen for this to move forward).

  • 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
  • MoreLINQ

    Extensions to LINQ to Objects

  • If you don't already know about it, I highly recommend checking out the MoreLINQ open source project which adds a bunch of these less common but still occasionally useful extensions to LINQ. They also include an Index method which does exactly what your WithIndex method does, yielding out KeyValuePair entries for each iteration.

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

  • .Net7 broke DefaultInterpolatedStringHandler?

    2 projects | /r/csharp | 27 Mar 2023
  • Performance Improvements in .NET 7

    3 projects | /r/programming | 31 Aug 2022
  • Do you use IAsyncDisposable? I'm looking for examples of it in the real work.

    3 projects | /r/dotnet | 10 Jul 2022
  • .NET INFORMAZIONI

    4 projects | /r/ItalyInformatica | 8 Jun 2022
  • Make formal verification and provably correct software practical and mainstream

    9 projects | news.ycombinator.com | 28 May 2022