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
Describe session handling in a webform, how does it work and what are the limitations?
What is managed code in .NET?
Explain about the Common Language Runtime?
Explain soap and xml?
Can I write my own .net host?
What is Ajax design pattern in .NET?
Explain the difference between garbage collections in .net 4.0 and earlier versions?
Please explain what are an object and a class?
What is il and c#?
Is .net core free?
Write a program to create a user control with name and surname as data members and login as method and also the code to call it.
What is machine.config in .net?
Can "this" be used within a static method?
What is static constructor, when it will be fired? And what is its use?
Is Driver Script any how related to AOM?