I have the following hard coded object:
data.Add(New Object() {"Date", "Minutes"})
How do I create an object like this from a for each? For instance:
For each item in group
' do something
Next
(When “group” contains “Date” and “Minutes.”)
Thank you.
You can use LINQ to do this:
If you really want to do it in a
For Eachloop, you can use: