Skip to content

Conversation

@BillWagner
Copy link
Member

@BillWagner BillWagner commented Nov 20, 2025

Remove interactive snippets from all docs except the introductory tutorials.

Contributes to #50331


Internal previews

Toggle expand/collapse
📄 File 🔗 Preview link
docs/csharp/how-to/compare-strings.md How to compare strings in C#
docs/csharp/how-to/concatenate-multiple-strings.md How to concatenate multiple strings (C# Guide)
docs/csharp/how-to/modify-string-contents.md "How to modify string contents"
docs/csharp/how-to/parse-strings-using-split.md How to separate strings using String.Split in C#
docs/csharp/language-reference/builtin-types/nullable-value-types.md docs/csharp/language-reference/builtin-types/nullable-value-types
docs/csharp/language-reference/builtin-types/value-tuples.md Tuple types (C# reference)
docs/csharp/language-reference/operators/arithmetic-operators.md Arithmetic operators (C# reference)
docs/csharp/language-reference/operators/bitwise-and-shift-operators.md Bitwise and shift operators (C# reference)
docs/csharp/language-reference/operators/boolean-logical-operators.md "Boolean logical operators - the boolean and, or, not, and xor operators"
docs/csharp/language-reference/operators/equality-operators.md Equality operators - test if two objects are equal or not
docs/csharp/language-reference/operators/lambda-expressions.md docs/csharp/language-reference/operators/lambda-expressions
docs/csharp/language-reference/operators/member-access-operators.md Member access operators and expressions - the dot, indexer, and invocation operators.
docs/csharp/language-reference/operators/type-testing-and-cast.md "Type-testing operators and cast expressions test the runtime type of an object"
docs/csharp/language-reference/statements/jump-statements.md Jump statements - break, continue, return, and goto
docs/csharp/tutorials/string-interpolation.md docs/csharp/tutorials/string-interpolation
docs/fundamentals/runtime-libraries/system-boolean.md System.Boolean struct
docs/fundamentals/runtime-libraries/system-byte.md System.Byte struct
docs/fundamentals/runtime-libraries/system-datetime.md System.DateTime struct
docs/fundamentals/runtime-libraries/system-globalization-datetimeformatinfo.md System.Globalization.DateTimeFormatInfo class
docs/fundamentals/runtime-libraries/system-globalization-numberformatinfo.md docs/fundamentals/runtime-libraries/system-globalization-numberformatinfo
docs/fundamentals/runtime-libraries/system-invalidoperationexception.md System.InvalidOperationException class
docs/fundamentals/runtime-libraries/system-object-equals.md System.Object.Equals method
docs/fundamentals/runtime-libraries/system-object-tostring.md System.Object.ToString method
docs/fundamentals/runtime-libraries/system-random.md docs/fundamentals/runtime-libraries/system-random
docs/fundamentals/runtime-libraries/system-single.md System.Single struct
docs/fundamentals/runtime-libraries/system-string-format.md System.String.Format method
docs/fundamentals/runtime-libraries/system-string.md System.String class
docs/fundamentals/runtime-libraries/system-text-stringbuilder.md System.Text.StringBuilder class
docs/standard/base-types/custom-date-and-time-format-strings.md Custom date and time format strings
docs/standard/base-types/divide-up-strings.md docs/standard/base-types/divide-up-strings

Note

This table shows preview links for the 30 files with the most changes. For preview links for other files in this PR, select OpenPublishing.Build Details within checks.

@BillWagner BillWagner marked this pull request as ready for review December 3, 2025 14:35
@BillWagner BillWagner requested review from a team and adegeo as code owners December 3, 2025 14:35
Copilot AI review requested due to automatic review settings December 3, 2025 14:35
Copilot finished reviewing on behalf of BillWagner December 3, 2025 14:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request removes interactive code snippet functionality from .NET documentation files, excluding introductory tutorials. The changes systematically remove interactive="try-dotnet", interactive="try-dotnet-method", and related attributes from code blocks, and delete three include files that contained notes about the Try.NET interactive code runner.

Key Changes

  • Removed three include files that contained interactive code runner notes and instructions
  • Updated code snippet references to remove interactive attributes from approximately 200+ code blocks across documentation files
  • Removed explanatory notes about the Try.NET playground from several articles

Reviewed changes

Copilot reviewed 90 out of 90 changed files in this pull request and generated no comments.

Show a summary per file
File Description
includes/csharp-interactive-with-utc-partial-note.md Deleted include file containing interactive note with UTC timezone disclaimer
includes/csharp-interactive-partial-note.md Deleted include file containing partial interactive code runner note
includes/csharp-interactive-note.md Deleted include file containing full interactive code runner note
docs/standard/base-types/*.md Removed interactive attributes from code snippets in base types documentation
docs/fundamentals/runtime-libraries/*.md Removed interactive attributes from runtime libraries reference documentation
docs/csharp/tutorials/string-interpolation.md Removed interactive attributes from tutorial code examples
docs/csharp/language-reference/**/*.md Removed interactive attributes from language reference documentation
docs/csharp/how-to/*.md Removed interactive attributes from how-to guides
docs/csharp/fundamentals/object-oriented/objects.md Removed interactive attributes from OOP documentation

The changes are consistent and focused solely on removing interactive functionality. No issues were identified with the implementation.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant