DateTime[] dt = new DateTime[10]
for(i=0; i<10; i++)
{
dt[i] = DateTime(2008, 1, i+1)
}
How many heap object will be created for the above array.
Choose the correct answer below.
Ans: 1, 10, 11, 12
Answer Posted / shiva
10
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
When displaying fonts, what is the difference between pixels, points and ems?
Tell us the differences between an interface and an abstract class in .net?
What is value type and refernce type in .net?
What operating systems does the .net framework run on?
Tell us why do we use the “using” statement?
What is deferred execution vs. Immediate execution in linq?
What is marshling?
What is reflection and what is it for?
Explain how to produce an assembly?
Name the classes that are introduced in the system.numerics namespace.
What are the properties of ADO.NET?
What is the difference between user control an custom control? Advantages/disadvantages?
What does il do?
How to produce an assembly?
How server form post-back works?