Skip to content

Any and Exists sample: update to .NET 10 - #2338

Open
vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/94987-csharp-differences-between-any-and-exists-methods
Open

vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/94987-csharp-differences-between-any-and-exists-methods

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Moves the Any and Exists sample to net10.0 with BenchmarkDotNet 0.15.8, xUnit 2.9.3, xunit.runner.visualstudio 4.0.1, Microsoft.NET.Test.Sdk 18.11.0 and coverlet.collector 10.1.0. Adds an Array.Exists helper, tests for Exists on lists and arrays and for the null behaviour of both methods, makes the benchmark methods return their result with Exists as the baseline, and passes args to BenchmarkRunner so command line flags reach BenchmarkDotNet.

Move both projects to net10.0 and current packages, add Array.Exists
helper and tests for Exists and null behaviour, return results from the
benchmarks with Exists as the baseline, and pass args to BenchmarkRunner.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant