C# 12 Primary Constructors

Поделиться
HTML-код
  • Опубликовано: 22 ноя 2024

Комментарии • 6

  • @abdelazizshaban5190
    @abdelazizshaban5190 6 месяцев назад +1

    You're underrated, Thank you

  • @CodingTutorialsAreGo
    @CodingTutorialsAreGo  Год назад +4

    Do think the drawbacks of primary constructors (like missing 'readonly') outweigh the benefits? Leave a comment.
    Source code available at: github.com/JasperKent/Primary-Constructors
    Remember to subscribe at ruclips.net/channel/UCqWQzlUDdllnLmtgfSgYTCA
    And if you liked the video, click the 👍.

  • @DNI404
    @DNI404 11 месяцев назад +3

    At this moment primary constructors feature looks a bit unfinished, I hope they will properly implement it in the next version. Thanks for the video!

    • @CodingTutorialsAreGo
      @CodingTutorialsAreGo  11 месяцев назад +2

      I’m finding that for other features too. Next week’s video highlights a big performance problem with the new spread operator.

  • @zaharivaklinov
    @zaharivaklinov Год назад +5

    This is a nice observation of these couple of C# features. Will you be doing a review of any .NET 8 or other C#12 aspects?