What is the difference between the value-type variables and reference-type variables



What is the difference between the value-type variables and reference-type variables..

Answer / Nishant Trivedi

Value-type variables store their data directly in the variable itself, whereas reference-type variables store a memory address that points to the actual data location.nnFor example, in C#, int (integer) is a value-type variable, while an object is a reference-type variable.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP Interview Questions

What does asp mean in business?

1 Answers  


Define .asp file?

1 Answers  


Should user input data validation occur server-side or client-side?

1 Answers  


What is Debit Memo & Credit Memo in Payables?

1 Answers   Infosys,


What is a session?

3 Answers  


what is stored procedural

1 Answers  


Define a "virtual directory"?

1 Answers  


why many web.config files are used in are project

1 Answers  


Using VBScript, which of the following Scripting Object(s) is NOT available from scrrun.dll? A. TextStream B. Dictionary Object C. Err Object D. FileSystemObject E. All are available from scrrun.dll.

1 Answers  


How to convert a string into an integer in .net?

1 Answers  


Define common language specification (cls)?

1 Answers  


What is server control

1 Answers   HCL, Home Credit,


Categories