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 are the two main parts of the .net framework?

1001


What is the difference between web application and enterprise application?

1028


Please explain what is the difference between a class and an object?

986


Is it true that objects don't always get destroyed immediately when the last reference goes away?

956


What are the advantages of .net?

945


What is UDDI and how to register the web service in it?

1104


Tell us the difference between managed and unmanaged code?

954


Explain how to produce an assembly?

948


How many types of transactions are there in com + .net ?

1015


Is .net a language?

974


What is a web service in .net?

1039


What is the advantage of .net?

929


Explain the difference between the while and for loop. Provide a .net syntax for both loops?

909


I want to serialize instances of my class. Should I use xmlserializer, soapformatter or binaryformatter?

1005


What are the types of jit?

1000