How can i retrieve from a List<string>
the item(value) that starts with Name=
If the list contains the values:
Name=Jhon Smith
Age=20
Location=CityName
I want to get the value Jhon Smith
.
I do know how to traditionally loop through the list using foreach and have a condition if value starts with Name=
... but I'm not that good with LINQ.