Modify C# Testing - #5917
Merged
pascalecu merged 73 commits intoMay 13, 2026
Merged
Conversation
pascalecu
force-pushed
the
c-sharp/update-to-dotnet-10
branch
from
May 13, 2026 18:44
05af1d8 to
c7b6db6
Compare
rzuckerm
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Congrats on taking the first step to contributing to the Sample Programs repository maintained by The Renegade Coder!
For simplicity, please make sure that your pull request includes one and only one contribution.
I Am Modifying an Existing Code Snippet or Existing Tests
Modify {PROJECT} {tests} in {LANGUAGE}formatOther Notes
I migrated all samples to C# 14, because many improvements have happened in the C# world since the first sample was sent ~7 years ago (iirc). More importantly, I optimized the testinfo.yml so that the samples compile and run faster without needing to go through
dotnet run, which on my systems has more than halved the time needed to doglotter run test --parallel -l c-sharp. With these changes in the testinfo applied to F# and VB as well, I expect the pipeline to be shorter by up to 10 minutes.