adplus-dvertising
frame-decoration

Question

Which among the following is the correct way to find out the number of elements currently present in an ArrayListCollection called arr?

a.

arr.Capacity

b.

arr.Count

c.

arr.MaxIndex

d.

arr.UpperBound

Posted under C# programming

Answer: (b).arr.Count

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which among the following is the correct way to find out the number of elements currently present in an ArrayListCollection called arr?