What is Value type and reference type in .Net
Answer / kirti
Value Type : A variable of a value type always contains a value of that type. The assignment to a variable of a value type creates a copy of the assigned value, while the assignment to a variable of a reference type creates a copy of the reference but not of the referenced object.
The value types consist of two main categories:
* Stuct Type
* Enumeration Type
Reference Type :Variables of reference types, referred to as objects, store references to the actual data. This section introduces the following keywords used to declare reference types:
* Class
* Interface
* Delegate
This section also introduces the following built-in reference types:
* object
* string
| Is This Answer Correct ? | 0 Yes | 0 No |
Where are the routing rules defined in an asp.net mvc application?
How to Create an Intranet Site Using ASP.NET MVC?
Can you explain renderbody and renderpage in asp.net mvc?
Explain encapsulation
1 Answers HPCL, Hughes Systique Corporation,
What is NonActionAttribute ?
Requirement is: try { \\SQL Query } catch(Exception i) { print a } catch(SQLQueryException e) { \\SQL Query } Qu)I Got Exception in "try" block. Which "catch" statement (i.e. 1st catch or 2nd catch ) catches the exception and Why???
What is object service? : Entity framework
How does servicing work for the .net framework 3.0?
What is entity framework? : Entity framework
please tell me the best book of asp.net in the markit. which explain in simple and detail.
What is meant by bootstrap in mvc5?
what is connection pooling