What is the difference between array.find method and
arraylist.find method?
Answer / 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 |
What is the difference between array and arraylist in c#?
What are the different types of assemblies available and their purpose?
What are the ways in which client can create object on server in cao model?
What is session variable in c#?
What is arraylist class in c#?
f i give input like 1,1,4,5,6,1,2,5,4,1,2, then output should be like : 1-4, 2-2, 4-2, 5-1, 6-1 which means 1 occurs 4 times, 2 occurs 2 times like so.
How do you generate documentation from the C# file commented properly with a command-line compiler?
Why do we need interface in c#?
How do you prevent a method from being overridden in c#?
What are the new features in c# 2.0?
What is inline function in c#?
Explain manifest & metadata.