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
Explain the difference between “as” and “is” operators used in c#?
Difference between abstract classes and interfaces
What is the default value of object in c#?
When can a derived class override a base class member?
What is the benefit of using interface in c#?
What is difference between encapsulation and abstraction in c#?
What is a struct in C#?
How to exclude a property from xml serialization?
Why do we use static class in c#?
What is private constructor c#?
Can a string be null c#?
What is the use of constructor in c# with example?
What is a .aspx file?
Is string mutable in c#?
What is static noise?