What is the difference between array.find method and
arraylist.find method?



What is the difference between array.find method and arraylist.find method?..

Answer / sahilmahammad

Array.find() will find the first occurrence from the given
predicate and return the result.
When in ArrayList there is no method like find() if you
still want to find object than you have to use
BinarySearch() which will return the index of the object

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Sharp Interview Questions

Write a program in C# for checking a given number is PRIME or not.

0 Answers  


What is the difference between finalize() and dispose()?

0 Answers  


How do I stop my console from closing in c#?

0 Answers  


What does string format do?

0 Answers  


What is extension method in c# and how to use them?

0 Answers  






Is equal in c#?

0 Answers  


Explain About the Sattilite Assembly in .Net Technology?

2 Answers   TCS,


Can you change the value of a variable while debugging a C# application?

1 Answers  


Why do we need static in c#?

0 Answers  


Who benefits from ajax?

0 Answers  


What is callback method in c#?

0 Answers  


write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5

0 Answers  


Categories