An Array is a Ref Type? what about the array elements which
are value type(int,Float...etc)?
Answer Posted / anand
address of value type elements (variables) were stored in
the array name, eg: For int value type you wil declare as:-
int[] arrayname=new int[];
here arrayname contains the address of the elements stored
in it.
int[] arrayname=new int[] {5,4,3,2,1};
arrayname denotes to the address of 5.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What are the differences between system.string and system.text.stringbuilder classes?
What are Memory foot print of an exe?
What are jump statements in c#?
Difference between StackPanel and RelativePanel ?
What is querystring in c#?
What is native image generator (ngen.exe)?
Is namespace a class?
How do you create dlls in .NET
What is a delegate how is it type safe?
Which controls do not have events?
What is firstordefault c#?
Assembly Code. in Rejester AL. How do Contast Replece( or Change): Bit D3 With Bit D4 and Bit D2 With Bit D5 and Bit D1 With Bit D6 and Bit D0 With Bit D7 I am Not Know Very Well Write English.
What is uint64?
Explain deadlock?
How do I develop c# apps?