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
What are "class access modifiers" in C#?
What is extension method in c sharp?
What is the difference between static class and singleton class in c#?
Can you instantiate a struct without using a new operator in c#?
What are the types of operator?
Is string a class in c#?
What are assemblies?
what is object-oriented programming (oop) language?
What is Implicit conversion in C#?
What is difference between method overriding and method overloading?
How to implement singleton design pattern in c#?
How do namespaces work?
Can destructors have access modifiers?
What's the c# syntax to catch any possible exception?
What is the use of generics in c#?