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 happens if a static constructor throws an exception?
Is a valid int value?
What are the advantages of properties in c#?
What is IL / CIL / MSIL?
Does c# support multilevel inheritance?
Define collections?
Explain the three test cases in unit testing?
Tell me the difference between value passing and address passing?
Why array is faster than arraylist in c#?
What is parallel programming in c#?
What is the difference between a method and a property?
How to sort an int array in c#?
What is difference between class and abstract class in c#?
What is difference between ilist and list in c#?
Can we inherit static class in c#?