Integer & struct are value types or reference types in .NET?
Answer / guest
Integer and struct are value types in .net.Integer has
fixed range of values hence they are going to be stored in
the stack memory.so,what ever is stored in stack memeory is
a value type.struct is similar to a class(1.e, it contains
dataitems of different datatypes) but the only difference
is that struct is a value type ,class is a reference
type.struct is a value type because the values in struct
can be accesed with the help variable created for the
struct i.e,Dot operator appended to the struct variable can
be used to access each of the individual data items in the
struct class.
| Is This Answer Correct ? | 3 Yes | 0 No |
Explain how garbage collection works?
Which dll translate xml to sql in internet information server (iis)?
What operating systems does the .net framework run on?
Should I use readerwriterlock instead of monitor.enter/exit?
Tell us what is the native image generator?
Please explain about "this" object
Differentiate between managed and unmanaged code?
What do you mean by web service?
How will you register com+ services?
What is Ajax design pattern in .NET?
what is AGILE SCRUM methodoly....?
What is data type and how many types of data types are in .NET ?