© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•16mo ago•
23 replies
workani

Converting a string to a list of objects using only LINQ.

I want to convert my string with a shopping list in it to a list of ShoppingList objects (it contains a bool IsBought and a string Content) using only LINQ. How could I do that?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Assigning variables to a list of objects
C#CC# / help
4y ago
✅ List of inherited objects
C#CC# / help
3y ago
LINQ List A (list of strings) "partial" has any member of list B (list of strings)
C#CC# / help
3y ago
❔ How to create a list of generic objects?
C#CC# / help
3y ago