Skip to content

Conversation

@DamianEdwards
Copy link
Member

Putting this up for discussion given it's been multiple major releases since we introduced top-level statements as the default I think it's worth considering removing this comment from the console template to make the C# file cleaner.

@baronfel @claudiaregio @stephentoub @timheuer

Putting this up for discussion given it's been multiple major releases since we introduced top-level statements as the default I think it's worth considering removing this comment from the console template to make the C# file cleaner.

@baronfel @claudiaregio @stephentoub @timheuer
Copilot AI review requested due to automatic review settings May 22, 2025 23:00
@DamianEdwards DamianEdwards requested a review from a team as a code owner May 22, 2025 23:00
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 PR removes the legacy conditional compilation block and informational comment for the top-level program from the C# console template.

  • Deletes the #if (csharpFeature_TopLevelProgram) wrapper and its associated console-template link comment.

@stephentoub
Copy link
Member

Yes please!
#36293

@stephentoub
Copy link
Member

#42497

@DamianEdwards
Copy link
Member Author

Closing this in favor of #42497 which I didn't see before opening this one 😄

@MichaelSimons MichaelSimons deleted the damianedwards/clean-console-template branch September 29, 2025 19:56
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.

3 participants