Skip to content

Update MultidimensionalArray sample to .NET 10 - #2368

Merged
vladimir-pecanac-main merged 2 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/88338-charp-multidimensional-jagged-array
Nov 25, 2026
Merged

vladimir-pecanac-main merged 2 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/88338-charp-multidimensional-jagged-array

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Retargets both projects in collections-arrays/MultidimensionalArray to net10.0 with BenchmarkDotNet 0.15.8 and System.Drawing.Common 10.0.14, marks the Convolution benchmark class as Windows-only with SupportedOSPlatform (which clears the CA1416 warnings), switches Program.cs to BenchmarkSwitcher so either benchmark can be picked through args, makes both MaxElement benchmarks return the computed maximum, and writes the jagged array literals in the demo and the jagged kernel as collection expressions.

Retarget both projects to net10.0 with BenchmarkDotNet 0.15.8 and System.Drawing.Common 10.0.14, mark the Convolution benchmark Windows-only, let Program.cs pick a benchmark through args, return the result from both MaxElement benchmarks, and use collection expressions for the jagged array literals.
@vladimir-pecanac-main
vladimir-pecanac-main merged commit 9c1f3c5 into CodeMazeBlog:main Nov 25, 2026
4 checks passed
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