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 is 'Common Type System' (CTS) in .NET?

1130


What are the different types of Classes in .NET?

1096


How do you create threading in.net?

1003


What is the use of design pattern?

1024


Differentiate between managed and unmanaged code?

1152


What are the advantages of .net core?

985


Explain is the jit an interpreter?

1048


What are the challenging issues you have faced in implementation project/Maintainance project in .net Functionality? How you have overcome that issue?

5127


How will you register com+ services?

2053


How to implement CAS in .Net?

2847


How to create a key pair in .net?

1101


What is cyclomatic complexity and why is it important?

2395


What is msil, il?

1073


Explain about managed heap?

1099


How to implement getcommon method in class a? Are you seeing any problem in the implementation?

1077