What is the difference between array.find method and
arraylist.find method?
Answer Posted / 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 View All Answers
How do you mark a method obsolete?
What are the fundamental differences between value types and reference types?
Define a manifest in .net?
What is the difference between class and namespace?
Explain About multi level and multiple inheritance how to achieve in .net
How do I create a multilanguage, single-file assembly?
How can you sort strings in array that are passed to method as arguments?
Can mvc be used for desktop applications?
How to get the sum of last 3 items in a list using lambda expressions?
Is c# a technology?
What is super class in c#?
Why do we write system in c#?
What is an enumerator in c#?
What is the difference between console and windows application?
What is namespace in oops?