what are value types and reference types? where they are stored?
Answer Posted / chiyan
value types holds the data directly ,no default value for
value type ex-->predefined datatypes
-->structures
-->enumarator
valuetypes will be stored in stack memory.
refe types does not holds the value directly,ref type holds
the default value ex-->arrays
-->classes
-->objects
ref types will be stored in heap memory.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
List down the commonly used types of exceptions in .net
Explain the steps to create satellite assembly?
How many types of constructors are there in c#?
What is the use of delegate?
Difference between type constructor and instance constructor? What is static constructor, when it will be fired? And what is its use?
What are access modifiers in c#?
Which of the following API is used to hide a window?
What are extender provider components? Explain how to use an extender provider in the project.
Can we inherit class that contains only one private constructor?
How can I use .NET components from COM programs?
how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used
Explain About stateless and state full web service
Define c# and list the features.
What do you mean by directing?
Is c# and .net same?