Searches for the specified element and returns the zero-based index of the first occurrence within the entire collection.
Parameters
- value
- The Element to search for in the collection which matches the returned index.
Return Value
An integer which represents the index position corresponding to the given element.