C# Tutorial. Records - What They are and How to Use Them

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

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

  • @Ardittz
    @Ardittz Год назад +3

    Hey Nick I just wanted to let you know that you are an underrated creator, I learn a lot from your content and I have a better understanding in programming since I started to watch your videos. Keep it up the good work King

  • @humanit2020
    @humanit2020 Год назад +3

    Nick, thank you for recording and sharing this including the simple examples and code comparisons!
    I love sharing coding snippets like yours with my developers yet I'd give this one a pass as I would confuse my people. Record properties are recommended to be written in Pascal notation (not a biggie and technically a personal choice) but inheritance (of records too) is an "is" relationship: an employee isn't a department yet an employee can be a person.
    Keep those small session coming though. They are easy to digest. :-)

    • @nickproudprogrammer
      @nickproudprogrammer  Год назад +2

      Fair point. I admit 'department' was not a good choice for an inheritance example. Something like 'person' would have made more sense