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 do constructors do in c#?
How do I get deterministic finalization in c#?
What is static classes in c#?
Explain polymorphism in c# with a simple example?
What is array c#?
List down the differences between “dispose” and “finalize” methods in c#.
Is a structure a class?
What is virtual class in C#?
Why do we use reflection in c#?
What is use of console?
What is class and object c#?
Can you have more than one namespace in c#?
What is Delegate and what is it used for ?
Why do we use lambda expression in c#?
When a Static Constructor is called in a Class?