Method LastIndexOf
LastIndexOf(T)
Searches for the specified object and returns the index of the last occurrence within the entire list.
Declaration
  public int LastIndexOf(T item)
 
Parameters
  
    
      | Type | Name | Description | 
  
  
    
      | T | item |  | 
  
Returns
LastIndexOf(T, int)
Searches for the specified object and returns the index of the last occurrence within the range of items in the list that extends from the first
item to the specified index.
Declaration
  public int LastIndexOf(T item, int index)
 
Parameters
  
    
      | Type | Name | Description | 
  
  
    
      | T | item |  | 
    
      | int | index |  | 
  
Returns
LastIndexOf(T, int, int)
Searches for the specified object and returns the index of the last occurrence within the range of items in the list that contains the specified
number of items and ends at the specified index.
Declaration
  public int LastIndexOf(T item, int index, int count)
 
Parameters
  
    
      | Type | Name | Description | 
  
  
    
      | T | item |  | 
    
      | int | index |  | 
    
      | int | count |  | 
  
Returns