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.
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
Thanks, Veianya, Join the Whatsapp group to get updates on the latest software technologies, webinars and more chat.whatsapp.com/FHhvPK1MtPsFR102R6wyfW
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 .
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
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?
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.
Value Type and Reference types are explained very well.
Thanks a lot, sir.
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
This helped clarify some things for me. Thank you.
Thanks, Veianya,
Join the Whatsapp group to get updates on the latest software technologies, webinars and more
chat.whatsapp.com/FHhvPK1MtPsFR102R6wyfW
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 .
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
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?
i was expecting output like
b - mangesh
a - test
yes, can anyone explain this
Bro try to dry run this code, it is giving the correct output.
make video small
Please stop posting this on reddit.
Ok Sure and thanks for suggesting.