Which of the following method returns the index of the first occurrence of the specified argument?

30. Which of the following method returns the index of the first occurrence of the specified argument?

  1. Index()
  2. First()
  3. Element()
  4. IndexOf()

Answer: D) IndexOf()

Explanation:

IndexOf method returns the index of the first occurrence of the specified argument.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.