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

Can a dll be changed to an exe?

1222


Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component

2591


What is the difference between reference type and value type?

977


What does jit do?

1250


What is lambda expressions in c#?

1258


What is the difference between response.write & response.output.write?

1103


Please tell us what is the difference between override and overload in a method?

1184


Explain me why do we use msmq?

1090


Is .net front end or backend?

1078


What are Attributes in .NET?

1119


How will you make .NET programs work in Linux ?

2061


What is loosely coupled solution in.net?

1030


Please explain what is the difference between encrypting a password and applying a hashing?

1031


What is value type and refernce type in .net?

1111


Is the COM architecture same as .Net architecture? What is the difference between them (if at all there is)?

2052