Skip to content

Improve the C# language reference documentation with clearer examples #55955

Open

Description

@chukwuwww411-commits

Type of issue

Other (describe below)

Description

What is the issue?

The C# language reference documentation would be easier to understand if some topics included more clear, practical, step-by-step examples.

What I suggest

Please add more beginner-friendly examples and short code snippets that show how each concept works in a real situation.

This would make the documentation easier to follow, especially for developers who are learning C# and .NET.

Why this would help

Clear examples can help readers understand the concepts faster, avoid confusion, and start writing C# code with more confidence.

Thank you for improving the C# documentation.

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/value-types

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/builtin-types/value-types.md

Document Version Independent Id

e2c7e9c5-ebd3-ed68-d2cc-6d8929c654e8

Platform Id

3aa53bbc-9e47-812a-d8ea-36af4ae2f63a

Article author

@BillWagner

Metadata

  • ID: 0948cf18-9971-b2d4-4f59-e045838e6e5f
  • PlatformId: 3aa53bbc-9e47-812a-d8ea-36af4ae2f63a
  • Service: dotnet-csharp
  • Sub-service: lang-reference

Related Issues

Activity

  1. chukwuwww411-commits commented on Sep 11, 2026

    @chukwuwww411-commits
    Author

    I would like to contribute to this issue. I have reviewed the request and would be happy to work on the proposed C# language improvement.

    I can prepare the change, add appropriate tests, and update the documentation if needed. Please let me know if there are any specific implementation details or contribution guidelines I should follow before I begin.

  2. chukwuwww411-commits commented on Sep 11, 2026

    @chukwuwww411-commits
    Author

    Thank you for the issue

    I’m interested in contributing to this issue. I’ll review the existing C# language-service implementation and follow the repository’s contribution guidelines.

    Proposed approach

    • Review the current implementation and related tests.
    • Identify the appropriate change needed for this issue.
    • Add or update tests where necessary.
    • Keep the changes focused and consistent with the project’s coding style.
    • Test the changes before submitting a pull request.

    Thank you for maintaining the project and for the opportunity to contribute.

  3. chukwuwww411-commits commented on Sep 11, 2026

    @chukwuwww411-commits
    Author

    Thank you for the issue

    I’m interested in contributing to this issue. I’ll review the existing C# language-service implementation and follow the repository’s contribution guidelines.

    Proposed approach

    • Review the current implementation and related tests.
    • Identify the appropriate change needed for this issue.
    • Add or update tests where necessary.
    • Keep the changes focused and consistent with the project’s coding style.
    • Test the changes before submitting a pull request.

    Thank you for maintaining the project and for the opportunity to contribute.

  4. chukwuwww411-commits commented on Sep 11, 2026

    @chukwuwww411-commits
    Author

    from pathlib import Path

    content = """# Contribution Plan — GitHub Issue #55955

    Issue

    Improve the C# language service

    Purpose

    This document records a proposed contribution plan for issue #55955. It is intended to help organize the work before making any code changes.

    Proposed approach

    1. Review the issue discussion and existing implementation.
    2. Locate the relevant C# language-service code.
    3. Check existing tests and identify where coverage should be added or updated.
    4. Implement only the changes required by the issue.
    5. Run the relevant test suite and verify that existing behavior is not broken.
    6. Update documentation if the change requires it.
    7. Submit the changes as a focused pull request for review.

    Checklist

    Notes

    This is a planning document, not a claim that the implementation has already been completed.
    """
    path = Path("/mnt/data/github_issue_55955_contribution_plan.md")
    path.write_text(content, encoding="utf-8")
    print(path)

  5. BillWagner commented on Sep 14, 2026

    @BillWagner
    Member

    Hi @chukwuwww411-commits

    I'd like to re-purpose your efforts here. The primary goal of the reference material is technical accuracy. The content should still have numerous small examples that demonstrate different features. However, it's meant to be useful for more experienced C# developers. The "Fundamentals" section is where these same topics are covered for developers new to C# (or new to development).

    In broad strokes, the journey should be from the "Getting started" section, through "Fundamentals", and then to the reference or other deep dive sections.

    That said, I'm interested in improving the overall experience. First, if you see areas in the fundamentals section that have the same deficiencies, that's where to provide more beginner friendly content. Second, search results drop beginners into the reference section, we want to improve the search visibility for the corresponding fundamentals section, or drive readers to that section.

    Let me know what you think.

  6. added
    needs-more-infoNeeds more info from OP. Auto-closed after 2 weeks if no response. [org][resolution]
    and removed on Sep 14, 2026
  7. chukwuwww411-commits commented on Sep 18, 2026

    @chukwuwww411-commits
    Author

    Perfect

  8. removed
    needs-more-infoNeeds more info from OP. Auto-closed after 2 weeks if no response. [org][resolution]
    on Sep 18, 2026
  9. chukwuwww411-commits commented on Sep 22, 2026

    @chukwuwww411-commits
    Author

    Perfect

  10. chukwuwww411-commits commented on Sep 22, 2026

    @chukwuwww411-commits
    Author

    from pathlib import Path

    content = """# Contribution Plan — GitHub Issue #55955

    Issue

    Improve the C# language service

    Purpose

    This document records a proposed contribution plan for issue #55955. It is intended to help organize the work before making any code changes.

    Proposed approach

    1. Review the issue discussion and existing implementation.
    2. Locate the relevant C# language-service code.
    3. Check existing tests and identify where coverage should be added or updated.
    4. Implement only the changes required by the issue.
    5. Run the relevant test suite and verify that existing behavior is not broken.
    6. Update documentation if the change requires it.
    7. Submit the changes as a focused pull request for review.

    Checklist

    Notes

    This is a planning document, not a claim that the implementation has already been completed.
    """
    path = Path("/mnt/data/github_issue_55955_contribution_plan.md")
    path.write_text(content, encoding="utf-8")
    print(path)

  11. chukwuwww411-commits commented on Sep 22, 2026

    @chukwuwww411-commits
    Author

    from pathlib import Path

    content = """# Contribution Plan — GitHub Issue #55955

    Issue

    Improve the C# language service

    Purpose

    This document records a proposed contribution plan for issue #55955. It is intended to help organize the work before making any code changes.

    Proposed approach

    1. Review the issue discussion and existing implementation.
    2. Locate the relevant C# language-service code.
    3. Check existing tests and identify where coverage should be added or updated.
    4. Implement only the changes required by the issue.
    5. Run the relevant test suite and verify that existing behavior is not broken.
    6. Update documentation if the change requires it.
    7. Submit the changes as a focused pull request for review.

    Checklist

    Notes

    This is a planning document, not a claim that the implementation has already been completed.
    """
    path = Path("/mnt/data/github_issue_55955_contribution_plan.md")
    path.write_text(content, encoding="utf-8")
    print(path)

  12. chukwuwww411-commits commented on Sep 22, 2026

    @chukwuwww411-commits
    Author

    from pathlib import Path

    content = """# Contribution Plan — GitHub Issue #55955

    Issue

    Improve the C# language service

    Purpose

    This document records a proposed contribution plan for issue #55955. It is intended to help organize the work before making any code changes.

    Proposed approach

    1. Review the issue discussion and existing implementation.
    2. Locate the relevant C# language-service code.
    3. Check existing tests and identify where coverage should be added or updated.
    4. Implement only the changes required by the issue.
    5. Run the relevant test suite and verify that existing behavior is not broken.
    6. Update documentation if the change requires it.
    7. Submit the changes as a focused pull request for review.

    Checklist

    Notes

    This is a planning document, not a claim that the implementation has already been completed.
    """
    path = Path("/mnt/data/github_issue_55955_contribution_plan.md")
    path.write_text(content, encoding="utf-8")
    print(path)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions