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
Answers were Sorted based on User's Feedback
Answer / garima kurmi
Correct answer is 1.As the heap is a pointer and stores the
type of the object not the value.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / rattan deep
answer is 11 because i+1 will give 11 value and in C# array
is considered as dynamic structure.
Is This Answer Correct ? | 0 Yes | 1 No |
Explain about major components of the .NET framework.
How do you instantiate a complex number?
Explain the difference between asp.net and asp?
Dynamic Fonts
Is do-it (chennai) a good institute to learn dot-net???? are the trainers well experienced??
Explain how to redirect tracing to a file?
What is Garbage Collection in .Net? Garbage collection process?
Is there a way to suppress the finalize process inside the garbage collector forcibly in .net?
When should I use .net core?
What is an exe and a dll?
What is Active Directory? What is the namespace used to access the Microsoft Active Directories?
can any one tel me the complete Testing Procedure of any one simple PROJECT i mean either web/windows based application?