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 scanner needs recorded attribute arguments but must not instantiate the attribute. Whic…
from Reflection
C# 14 / .NET 10
intermediate
1 min
A scanner needs recorded attribute arguments but must not instantiate the attribute. Which API fits?
`CustomAttributeData.GetCustomAttributes(member)`
`member.GetCustomAttributes()`
`member.GetCustomAttribute<Attribute>()`
`Activator.CreateInstance(attributeType)`
Check
Ask AI about this kata
Report an error
next kata
What two type names does this program print?
Predict the output
A new version is available
Reload