Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
C#
/
Reflection
A mapper may write only properties with public setters. Which test expresses that contrac…
from Reflection
C# 14 / .NET 10
intermediate
1 min
A mapper may write only properties with public setters. Which test expresses that contract?
`property.SetMethod?.IsPublic == true`
`property.CanWrite`
`property.GetMethod is not null`
`property.MemberType == MemberTypes.Property`
Check
Ask AI about this kata
Report an error
previous kata
How many properties does this lookup print?
Predict the output
next kata
Review a generated reflection command router
Review AI code
A new version is available
Reload