We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi All, I would like to suggest that the ForEach statement be enhanced to support syntax similar to the following:
foreach(var item in collection where item != null && item < 10 orderby item.Index desc) { //Body of loop }
this would be the same as writing:
foreach (var item in (from item in collection where item != null && item < 10 orderby item.Index desc select item)){ //Body of loop }
The text was updated successfully, but these errors were encountered:
#1938 with different syntax.
Sorry, something went wrong.
No branches or pull requests
Hi All,
I would like to suggest that the ForEach statement be enhanced to support syntax similar to the following:
foreach(var item in collection where item != null && item < 10 orderby item.Index desc) {
//Body of loop
}
this would be the same as writing:
foreach (var item in (from item in collection where item != null && item < 10 orderby item.Index desc select item)){
//Body of loop
}
The text was updated successfully, but these errors were encountered: