Skip to content

InitSetters: .NET 10, xUnit asserts, Tokyo coordinates fixed, new init examples - #2343

Merged
vladimir-pecanac-main merged 2 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/88640-csharp-init-only-setter-properties
Nov 8, 2026
Merged

vladimir-pecanac-main merged 2 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/88640-csharp-init-only-setter-properties

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Moves the InitSetters sample to net10.0 and the current xUnit, Test SDK and coverlet packages, replaces FluentAssertions with plain xUnit asserts, swaps Tokyo's latitude and longitude into the right order in Program.cs and the tests, and adds Landmark, Country, Coordinates and Airport types with four tests for the set vs init, required, record with expression and primary constructor examples the article now shows.

@vladimir-pecanac-main
vladimir-pecanac-main merged commit 0880c9e into CodeMazeBlog:main Nov 8, 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