In this video I'll discuss about the difference between the Value and Reference type. Also, I'll discuss about the main reason why interviewer ask this question. #csharp #interviewquestion
Пікірлер: 15
@aitorgutierrez7157 ай бұрын
well this turned out easier to understand than i thought, i've suffered for 2 months trying to figure these concepts and you simplified it all in less than 10 minutes :) thanks from venezuela
@pistolerointergalactico901911 ай бұрын
Senor Rohit i want to congratulate you because of the clarity of the video, great job and thank you
@techz15113 ай бұрын
very good video brother
@786adeelghaffar11 ай бұрын
Very Informative Video, great work done
@fandtm80542 жыл бұрын
Very useful video thank you sir❤❤
@meenakshisudhakarok211210 ай бұрын
Thanks for this clear explanation
@swarajadsul1211 Жыл бұрын
Thank you you clarify very nicely
@tempsanity6 ай бұрын
Very good explanation.
@luisurbaez971 Жыл бұрын
Thank you sir
@suryapradipta61919 ай бұрын
in the function call, what if the void Method(string x), is the x will be stored on a heap? since the string is a reference type
@petrnaboko87209 ай бұрын
All reference types are stores in the heap. So, when method "Method" is called, 'x' will be send to method by the pointer, which address points to the heap where string is really exist. We are not sending the whole String to the method. We just sending a pointer(address points to the object stored in heap) into the method as parameter. But, in case void Method(int x) -> here we sending to method variable x(a real variable X, copy of X).