Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does il do?

957


How do I use the thread pool?

1030


Explain the use of activex control in .net?

1055


I was working for software company frm 2005 to 2009. I left job due to recession.I was jobless till dec 09 then i got job in bpo and i am not knowing what to do as my professional experience is with software.give me any suggestion.

1920


Different levels of priority provided by .net.

1141


What is difference between .net and .net core?

997


Explain re-clarification of object based in .net?

1000


What is different between webusercontrol and in webcustomcontrol?

979


Explain what is the difference between response.redirect & server.transfer?

1089


Tell us why do we use the “using” statement?

1016


Explain what is the difference between odbc and ado?

1073


Explain the purpose of Remoting in .NET?

1130


What are the security policy levels in .Net

2086


What are the difference bbetween value type & reference types ? Example from .net. Integer & struct are value types or reference types in .net?

937


Explain the difference between the while and for loop.

986