Array.IndexOf Method

http://msdn.microsoft.com/en-us/library/system.array.indexof.aspx

.NET Framework 4.5
 Returns the index of the first occurrence of a value in a one-dimensional Array or in a portion of the Array.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Exception: return -1

posted on 2012-10-26 12:27  ilawrence  阅读(118)  评论(0编辑  收藏  举报