Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support .NET 9.0 Index to ROW_NUMBER #33178

Open
Tracked by #25570
roji opened this issue Feb 27, 2024 · 0 comments
Open
Tracked by #25570

Support .NET 9.0 Index to ROW_NUMBER #33178

roji opened this issue Feb 27, 2024 · 0 comments

Comments

@roji
Copy link
Member

roji commented Feb 27, 2024

Release notes
Docs

IEnumerable<string> lines2 = File.ReadAllLines("output.txt");
foreach ((int index, string line) in lines2.Index())
{
    Console.WriteLine($"Line number: {index + 1}, Line: {line}");
}

This could be translated via ROW_NUMBER, similar to #24218.

@roji roji changed the title Support .NET 9.0 Index Support .NET 9.0 Index to ROW_NUMBER Feb 27, 2024
@ajcvickers ajcvickers added this to the Backlog milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants