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 |
How do you handle Start, Pause, Continue and Stop calls from SCM within your application?
what is the keyword used for self reference?
I have a problem in installing visual Studio 2008 on PC that have Celeron Processor ? afterAll InstallionFaied . Pls suggest me . Is it possible or not .if Yes then How ?
What is different between webusercontrol and in webcustomcontrol?
Do you know what is garbage collector?
Is there built-in support for logging?
Describe the compilation process for .net code?
Can a try block have nested try blocks?
What is an exe and a dll?
Explain the Scope of public/private/friend/protected/protected friend.
What class does icon derive from? Isn't it just a bitmap with a wrapper name around it?
how do you retrieve the customized properties of a .NET application from XML .config file? Can you automate this process?