Find in Generic Lists

CodeKeep C# Feed Aprile 29th, 2008

Description: A Class FileEntry ist stored in a generic List and should be searched

Link: http://www.codekeep.net/snippets/d4f68790-eab4-48c2-9489-fcfd26b9ed55.aspx

FileEntry fileentry = this.fileList.Find(f => f.FileName == Path.GetFileName(file));

  • .NET
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Comments are closed.

Trackback URI |