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 |
I am constantly writing the drawing procedures with system.drawing.graphics, but having to use the try and dispose blocks is too time-consuming with graphicsobjects. Can I automate this?
What is clr in .net?
what is the keyword used for self reference?
Describe the start-up process for a Windows service.
Explaing your project.
What are pdbs?
What is class library in .net
Tell us what is the native image generator?
What are code contracts?
What are the features of dot net?
I am looking for a fast track course (MAX 15 days) in MS.NET 3.5 and SQLSERVER 2005 in hyderabad or mumbai or pune. I am working in mumbai so cannot gor for long course. Can any body suggest me the best couching class or best faculty for the same. Thanks.
What is COM Interoperability in .NET