I have got a collection. The coll has strings:
Location='Theater=2, Name=regal, Area=Area1'
and so on. I have to extract just the Name bit from the string. For example, here I have to extract the text ‘regal’
I am struggling with the query:
Collection.Location.???? (what to add here)
Which is the most short and precise way to do it?
[Edit] : What if I have to add to a GroupBy clause
Collection.GroupBy(????);
Another LINQ-style answer (without the overhead of a dictionary):
re group by (edit):