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
What is the difference between task and thread in .net?
What is garbage collection in .net? Explain the garbage collection process?
What is equivalent for regsvr32 exe in .net ?
Please explain what is the .net framework and how does it work?
Please explain what is the difference between a class and an object?
What is the use of UML in .Net
What are the advantages of .net core?
What is the difference between web application and enterprise application?
What does cil do?
Differences between dll and exe?
Explain boxing and unboxing in .net.
What is the difference between an abstract class and an interface?
What are the differences between com architecture and.net architecture?
What tags do you need to add within the asp:datagrid tags to bind columns manually.
I have a problem in installing visual Studio 2008 on PC that have Celeron Processor ? afterAll InstallionFaied . Pls suggest me . Is it possible or not .if Yes then How ?