© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
19 replies
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
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

how to search for a value in a list
C#CC# / help
4y ago
Search object Inner list for value
C#CC# / help
15mo ago
❔ How to create a list of generic objects?
C#CC# / help
3y ago
❔ Generic component 2 list Blazor server
C#CC# / help
4y ago