Access Specifier in C# | DotNet Tamizha | Tamil | c# in tamil | access modifiers in c#

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

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

  • @mohammedharriss8411
    @mohammedharriss8411 Год назад

    My brother Thanks Sir Your Teaching Style is Really Amazing 😍 first You Teach Theory and practical ❤

  • @sivacse24
    @sivacse24 2 года назад +1

    Nice way of explaining .... I wan to know more about Internal and dlls .... not able found video in our channel... can you post the video link for the same

    • @DotNetTamizha
      @DotNetTamizha  2 года назад +1

      Thank you Siva Sankar for your comment!. I hope you meant internal keyword will try to post it soon.. Regarding dll, can you please tell what you want to know specifically.. So that I can deliver the same.. Thank you for your support.. 🙂👍

    • @sivacse24
      @sivacse24 2 года назад +1

      @@DotNetTamizha I am learning Unity c# coding... The videos in the channel all are most similar to unity c#.
      I am not sure how unity convert/generate dlls... But when I am seeing other videos in the channel I come to know you are using ASP .Net c#.
      But I enjoyed all of your videos lot of information you delivered in right way thanks a lot.

  • @ilayarajaramasamy1263
    @ilayarajaramasamy1263 2 года назад +2

    Internal separate video irukka

    • @DotNetTamizha
      @DotNetTamizha  Год назад +1

      My Next video about internal only .. 🙂👍

  • @DotNetTamizha
    @DotNetTamizha  3 года назад

    Sent your queries or suggestions to : DotNetTamizha@gmail.com
    OR
    Instagram : DotNetTamizha
    Let's build a Programming Community!!
    Subscribe Here👉 : bit.ly/2QrPrKg

  • @c.s2vaishnavi.k655
    @c.s2vaishnavi.k655 3 года назад +1

    Sir one doubt sir
    Protected la inhritance involve aagum pothu tha access panna mudiyum nu sonninga appo object use panni access panna mudiyathu sir

    • @c.s2vaishnavi.k655
      @c.s2vaishnavi.k655 3 года назад +1

      Ethunaala object use panni access panna mudiyathu sir reply pannunga sir

    • @DotNetTamizha
      @DotNetTamizha  3 года назад +1

      Good question Vaishanavi! Protected members can be accessed in 2 ways. It will be available thru object of the contained class also available in the derived class (while inheriting). Hope it solves your doubt. Let me know if you have any further query!

    • @c.s2vaishnavi.k655
      @c.s2vaishnavi.k655 3 года назад +1

      @@DotNetTamizha sir first point sonningala sir antha point koncham detail aa sollunga sir it will be available through object of the contained class intha point sir

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

      Hi Vaishavi, Extremely sorry for the confusion. Here we go. The protected member:
      1) Will be accessible with in the base class
      2) Also available in the child class
      3) It's not possible to access the protected member using parent class object in CHILD class.
      Please use the below code for better understanding: Below is the explanation i want to gave you in my previous reply, somehow i stumbled.
      public class A
      {
      protected int x;
      public int y;
      void basemethod()
      {
      x = 100;
      A instance = new A(); // Create instance for class A
      instance.x = 100; // With that object we can access the protected member
      }
      }
      public class B: A
      {
      void method()
      {
      A inst = new A();
      inst.y = 20;
      //inst.x = 20; //This is WRONG! You can't access protected member using parent class A object inside child class
      x = 10; // it will be avail in child class B since it's protected in parent class A
      }
      }
      Hope this will clear your doubt!

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

      Vaishnavi, The reason is simple, that's the nature of the keyword "protected". As per it's definition it won't be accessed thru "object" (i.e., in child class you can't access the protected member thru parent class object, it will be automatically available in child class). Still you have any query let me know! I'm happy to answer your doubts! :)

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

    Dot net development pathi kathuka vanthavanuku subscribe button edhuku nu teriathu nu nenachiteeye paa..

  • @nitheesha5253
    @nitheesha5253 2 года назад +1

    Sir private internal and private protected Kum podunga ...

    • @DotNetTamizha
      @DotNetTamizha  2 года назад +1

      Sure Nitheesh.. Thanks for your comment and support 🙂👍

    • @nitheesha5253
      @nitheesha5253 2 года назад +1

      @@DotNetTamizha yes sir,thanks