C# Tutorial | Value Type Vs Reference Type in C#

Поділитися
Вставка
  • Опубліковано 10 січ 2025

КОМЕНТАРІ • 14

  • @angelanaya8037
    @angelanaya8037 Рік тому +1

    I have been searching for the answer to this question in many places, everywhere it's mentioned that if a class contains an int, that it will be stored on the stack, even in an interview I got rejected by the same question. So thank you very much for the nice explanation, I think I will never forget this thing after watching this video, thank you very much sir.

  • @gnaneshwar_195
    @gnaneshwar_195 4 роки тому

    Value Type and Reference types are explained very well.
    Thanks a lot, sir.

    • @BestITcourse
      @BestITcourse  4 роки тому

      Thanks a Lot.
      Join our WhatsApp group - chat.whatsapp.com/HzE43FXv0HJ2z5qGSPDren
      Join the group to get updates on the latest software technologies, webinars and more

  • @Veianya
    @Veianya 4 роки тому

    This helped clarify some things for me. Thank you.

    • @BestITcourse
      @BestITcourse  4 роки тому

      Thanks, Veianya,
      Join the Whatsapp group to get updates on the latest software technologies, webinars and more
      chat.whatsapp.com/FHhvPK1MtPsFR102R6wyfW

  • @kiranshetty8342
    @kiranshetty8342 2 роки тому

    Hello Sir . Great video n easy to follow . Thanks for that 🙏 I have an question on same .
    Where exactly in memory does nullable type stored ?? Say for example : int? i=null; How it works behind hood . Could you pls help me on this . Thanks in advance .

    • @BestITcourse
      @BestITcourse  2 роки тому

      Hi kiran! You might want to join my Whatsapp group where I answer a lot of
      technical questions and give career guidance
      chat.whatsapp.com/Gs1FP2pg9xmCzsbCGEnu9n

  • @ujjwalkhairnar6931
    @ujjwalkhairnar6931 3 роки тому +1

    I read somewhere if we assign one reference variable to another reference variable it copy the address
    static void Main(string[] args)
    {
    string a = "ujjwal";
    string b = a;
    a = "mangesh";
    Console.WriteLine("b - " + b);
    b = "test";
    Console.WriteLine("a - " + a);
    Console.Read();
    }
    the output of the this program is
    b - ujjwal
    a - mangesh
    Can you please explain this?

  • @gkmishra2009
    @gkmishra2009 5 років тому

    make video small

  • @BubbaGump985
    @BubbaGump985 5 років тому +1

    Please stop posting this on reddit.

    • @BestITcourse
      @BestITcourse  5 років тому

      Ok Sure and thanks for suggesting.