Article missing information on exmaple usage

Open Beginner friendly
#41,401 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
csharp
Domain
documentation

Research direction

Read docs/csharp/advanced-topics/reflection-and-attributes/attribute-tutorial.md and compare the published article at the linked page. Add a concrete example showing how to execute or use an actual sample attribute after the reflection discussion. Done means the tutorial no longer ends without demonstrating an attribute in use and the documentation build or relevant validation passes.

Written by the indexing model from the issue text.

Description

advanced-concepts/subsvc dotnet-csharp/svc
Type of issue

Missing information

Description

[Enter feedback here]
This documentation falls off a cliff, into's attributes, discusses that you have to use reflection to access attributes, shows an example of using reflection, then ends. What about an example of executing an actual sample attribute?

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/advanced-topics/reflection-and-attributes/attribute-tutorial

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/advanced-topics/reflection-and-attributes/attribute-tutorial.md

Document Version Independent Id

e0929204-b681-8c8f-6d1c-dbf42d62b863

Article author

@mgroves

Metadata
  • ID: 19250558-221d-dfca-c63e-7ac9e51b0817
  • Service: dotnet-csharp
  • Sub-service: advanced-concepts
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 30m
Merged PRs (30d)
374

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/docs

All issues in dotnet/docs

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.