Skip to content

[Edit] C#: Arrays #7722

@StuartMosquera

Description

@StuartMosquera

Type of Edit (select all that apply)

Clarify unclear content and/or terms

Description (optional)

Since C# 12, collections can be initialized more concisely using the collection expressions syntax. It's a good idea to update the syntax and examples to reflect this new feature, especially when initializing Arrays. According to .NET coding conventions, it's recommended to use new language features whenever possible to improve readability and maintainability.

Code of Conduct

  • By submitting this issue, I agree to follow Codecademy Doc's Code of Conduct.

For Maintainers

  • Labels added
  • Issue is assigned

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttypoFixing a typo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions