C# Programming Tutorial 62 - Creating Properties

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

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

  • @Ben-bg2lp
    @Ben-bg2lp 3 года назад +5

    Thank you man. Programming tutorials should be like this, concise and to the point.

  • @sethmartin3133
    @sethmartin3133 2 года назад

    THANK YOU CALEB! 😄

  • @MobileJay
    @MobileJay 4 года назад

    you lost me, in the previous videos you said a property is set like this and you can access it from the outside ---> public string Name;
    and a field is set like and that you can only access it from inside the class and you have to assign it a value ---> string name = "Jay";
    then you combined them together in this video, you declared a field the same way you would declare a property.

    • @codebreakthrough
      @codebreakthrough  4 года назад +1

      Public allows access outside the class. So public fields can be used in the same way as properties

    • @MobileJay
      @MobileJay 4 года назад

      @@codebreakthrough okay thanks, I'm loving the tutorials and so happy you broke down each topic in it's on part.

  • @rishitsingh6621
    @rishitsingh6621 5 лет назад

    Upload a 3hr crash course like Derek Banas

  • @kensei4237
    @kensei4237 3 года назад +2

    I feel like he lost motivation around here