Thread: Actor keys help
View Single Post
  #5  
Old 03-21-2012, 04:35 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Quote:
Originally Posted by Smokeynz View Post
indexnm = list.FindIndex(r => r.shortName.Equals("bob"));
You will get nothing:
Equals compares the complete string, you should use Contains(..).
Reply With Quote