C#C
C#4y ago
Ronnie

Search generic list for a searchword

Heeelp! deadline soon and i'm stuck..

I have a list like this:
List<string[]> blogPostList = new();

that contains this:
string[] blogPost = new string[3];

I have a linear search that lets you search for a title, but this ONLY matches if the "full title" is a match.
I need to make something that can take a searchword, search blogPostList[][0] (which is title) and match the searchword this to ANY part of the string title

any ideas?
image.png
Was this page helpful?