Is array reference type / value type?
Answers were Sorted based on User's Feedback
Answer / sharifuddin
Shiva U R Wrong
Array is a reference type and it is stored in Heap memory!
Reference types are:
object
class
delegate
interface
array
string
| Is This Answer Correct ? | 26 Yes | 0 No |
Answer / suryaprakash
Array is reference type, this type stored in heap memory
| Is This Answer Correct ? | 12 Yes | 1 No |
Answer / lucky
To Sharifuddin,
Please correct if someone makes mistake...you don't have
any writes to shout on him.
Behave like a Professional
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / dharmendra nonia
array is reference type.it store the elements in heap memory
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / vasu
All array types are implicitly derived from System.Array,
which itself is derived from System.Object. This means that
all arrays are always reference types which are allocated
on the managed heap.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / kumar vaibhav
array is reference type.it store the elements in heap memory
To Sharifuddin,
Agreed with Shiva, Sharifuddin-Please make sure you r here post your answer not to comment on other.If some one is incorrect you may correct him if you know the answer.Otherwise no need to embrace him on the public portal.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sowjanya
array in .net is of reference type.It implements various
interfaces.also the array you create is automatically
derived from system.array class
| Is This Answer Correct ? | 0 Yes | 0 No |
What is dll hell, and how does .net solve it?
If there are 2 interface IParentInterface & IChildInterface as follows. interface IParentInterface { void InterfaceMethod(); } interface IChildInterface : IParentInterface { void InterfaceMethod(); } Both the interface contains method with same name InterfaceMethod(). How InterfaceMethod() will be handled in IChildInterface as its deriving IParentInterface
What are the advantages of using assemble language programming?
What is windows application in c#?
What is the functionality of break and continue in Visual Studio?
How to open a new form on button click in Windows forms?
what is a callback function?
i need to insert data into sql server table emp through textboxes txtname and txtsalary using c# code. Please help
How do you comment in c#?
OOPs concept ?
What can I create with c#?
Can we define a variable with the access modifier private in an interface?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)