Skip to content

Modify C# Testing - #5917

Merged
pascalecu merged 73 commits into
TheRenegadeCoder:mainfrom
pascalecu:c-sharp/update-to-dotnet-10
May 13, 2026
Merged

Modify C# Testing#5917
pascalecu merged 73 commits into
TheRenegadeCoder:mainfrom
pascalecu:c-sharp/update-to-dotnet-10

Conversation

@pascalecu

Copy link
Copy Markdown
Member

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

  • I fixed Modify C# Testing #5915
  • I did not include any extra folders/libraries
  • I have read about modifying existing code snippets or tests in the contributing documentation
  • I have explained why this modification is necessary either in the issue linked above or in the notes below
  • I named the pull request using Modify {PROJECT} {tests} in {LANGUAGE} format

Other 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 do glotter 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.

@pascalecu pascalecu self-assigned this May 13, 2026
@github-actions github-actions Bot added enhancement Any code that improves the repo hello world See: https://sampleprograms.io/projects/hello-world/ reverse string See: https://sampleprograms.io/projects/reverse-string/ fizz buzz See: https://sampleprograms.io/projects/fizz-buzz/ file input output See: https://sampleprograms.io/projects/file-input-output/ baklava See: https://sampleprograms.io/projects/baklava/ fibonacci See: https://sampleprograms.io/projects/fibonacci/ roman numeral See: https://sampleprograms.io/projects/roman-numeral/ longest common subsequence See: https://sampleprograms.io/projects/longest-common-subsequence/ factorial See: https://sampleprograms.io/projects/factorial/ prime number See: https://sampleprograms.io/projects/prime-number/ even odd See: https://sampleprograms.io/projects/even-odd/ convex hull See: https://sampleprograms.io/projects/convex-hull/ job sequencing See: https://sampleprograms.io/projects/job-sequencing/ rot13 See: https://sampleprograms.io/projects/rot13/ bubble sort See: https://sampleprograms.io/projects/bubble-sort/ selection sort See: https://sampleprograms.io/projects/selection-sort/ quick sort See: https://sampleprograms.io/projects/quick-sort/ merge sort See: https://sampleprograms.io/projects/merge-sort/ insertion sort See: https://sampleprograms.io/projects/insertion-sort/ tests Testing related capitalize See: https://sampleprograms.io/projects/capitalize/ minimum spanning tree See: https://sampleprograms.io/projects/minimum-spanning-tree/ binary search See: https://sampleprograms.io/projects/binary-search/ linear search See: https://sampleprograms.io/projects/linear-search/ longest palindromic substring See: https://sampleprograms.io/projects/longest-palindromic-substring/ palindromic number See: https://sampleprograms.io/projects/palindromic-number/ remove all whitespace See: https://sampleprograms.io/projects/remove-all-whitespace/ josephus problem See: https://sampleprograms.io/projects/josephus-problem/ labels May 13, 2026
@pascalecu
pascalecu force-pushed the c-sharp/update-to-dotnet-10 branch from 05af1d8 to c7b6db6 Compare May 13, 2026 18:44
@pascalecu
pascalecu requested a review from rzuckerm May 13, 2026 19:23
@pascalecu
pascalecu merged commit b2c966e into TheRenegadeCoder:main May 13, 2026
8 checks passed
@pascalecu
pascalecu deleted the c-sharp/update-to-dotnet-10 branch May 13, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

baklava See: https://sampleprograms.io/projects/baklava/ base64 encode decode See: https://sampleprograms.io/projects/base64-encode-decode/ binary search See: https://sampleprograms.io/projects/binary-search/ bubble sort See: https://sampleprograms.io/projects/bubble-sort/ capitalize See: https://sampleprograms.io/projects/capitalize/ convex hull See: https://sampleprograms.io/projects/convex-hull/ depth first search See: https://sampleprograms.io/projects/depth-first-search/ dijkstra See: https://sampleprograms.io/projects/dijkstra/ duplicate character counter See: https://sampleprograms.io/projects/duplicate-character-counter/ enhancement Any code that improves the repo even odd See: https://sampleprograms.io/projects/even-odd/ factorial See: https://sampleprograms.io/projects/factorial/ fibonacci See: https://sampleprograms.io/projects/fibonacci/ file input output See: https://sampleprograms.io/projects/file-input-output/ fizz buzz See: https://sampleprograms.io/projects/fizz-buzz/ fraction math See: https://sampleprograms.io/projects/fraction-math/ hello world See: https://sampleprograms.io/projects/hello-world/ insertion sort See: https://sampleprograms.io/projects/insertion-sort/ job sequencing See: https://sampleprograms.io/projects/job-sequencing/ josephus problem See: https://sampleprograms.io/projects/josephus-problem/ linear search See: https://sampleprograms.io/projects/linear-search/ longest common subsequence See: https://sampleprograms.io/projects/longest-common-subsequence/ longest palindromic substring See: https://sampleprograms.io/projects/longest-palindromic-substring/ longest word See: https://sampleprograms.io/projects/longest-word/ maximum array rotation See: https://sampleprograms.io/projects/maximum-array-rotation/ maximum subarray See: https://sampleprograms.io/projects/maximum-subarray/ merge sort See: https://sampleprograms.io/projects/merge-sort/ minimum spanning tree See: https://sampleprograms.io/projects/minimum-spanning-tree/ palindromic number See: https://sampleprograms.io/projects/palindromic-number/ prime number See: https://sampleprograms.io/projects/prime-number/ quick sort See: https://sampleprograms.io/projects/quick-sort/ remove all whitespace See: https://sampleprograms.io/projects/remove-all-whitespace/ reverse string See: https://sampleprograms.io/projects/reverse-string/ roman numeral See: https://sampleprograms.io/projects/roman-numeral/ rot13 See: https://sampleprograms.io/projects/rot13/ selection sort See: https://sampleprograms.io/projects/selection-sort/ tests Testing related transpose matrix See: https://sampleprograms.io/projects/transpose-matrix/ zeckendorf See: https://sampleprograms.io/projects/zeckendorf

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modify C# Testing

2 participants