score:3
Accepted answer
you'll need to do a select
to transform the results from xelement
s to string
s.
dim chaptertitles = details.<vector>.<item>.skip(1).take(4).select(function(item) item.value)
or
dim chaptertitles = from item in details.<vector>.<item>.skip(1).take(4) _
select item.value
Source: stackoverflow.com
Related Query
- Convert Resultant Values to List of Strings in Linq
- Convert dictionary values to list using linq
- Convert a list to a dictionary and sum up values using linq
- Convert SQL to LINQ with JOIN, GROUP BY, SUM, multiply values two List
- C# LINQ GroupBy to convert a List to a group with one property as List of values
- Convert an integer range to a list of strings using LINQ
- Use LINQ to convert comma separated strings in a table into a distinct collection of values
- LINQ Convert List of items to Lookup of rows with redundant values
- LINQ counting unique strings in a list and storing the values in a tuple
- Create a tree structure in linq with a single list source with parent - child as strings of an object
- Using LINQ how do you filter a list of strings for values that match the pattern "q1, q2" etc.?
- c# Linq or code to extract groups from a single list of source data
- Convert string[] to int[] in one line of code using LINQ
- Convert list to dictionary using linq and not worrying about duplicates
- LINQ - Convert List to Dictionary with Value as List
- LINQ query to return distinct field values from list of objects
- how to remove empty strings from list, then remove duplicate values from a list
- How to select values within a provided index range from a List using LINQ
- Get indexes of all matching values from list using Linq
- Using LINQ to convert a list to a CSV string
- Convert CollectionBase to List or data type usable with Linq
- How to use Linq to check if a list of strings contains any string in a list
- LINQ Get Distinct values and fill LIST
- Split string into list of N-length strings using LINQ
- Select distinct values from a list using LINQ in C#
- How to get a list of the grouped values in linq groupby?
- C# LINQ - convert nested dictionary to a list
- Generating the Shortest Regex Dynamically from a source List of Strings
- Linq query to get the distinct values in a list
- Find the Second Max in a list of values using linq c#
More Query from same tag
- Grouping A List - Looking For A Better Way
- How can I "expand" IQueryable results based on a range of values?
- How to reutrn null for a specific field
- How to integrate external list to raw sql query join as table in a linq raw sql query
- Repository Pattern - MVC storefront
- Mix 2 arrays using LINQ
- Concatenate strings inside a linq 'select new object {
- Use LINQ to SQL to generate SQL based on in-memory list
- how to load a variable in a for loop or linq
- Displaying records for two weeks only! from creation
- linq orderby with condition
- How to get the data of specific user in one row
- Linq performance issue in loop
- LINQ query in lambda syntax
- ObjectContext Closed error when using Include?
- Trying to us an IList.Contains with lambda, but not delegate type
- How to get list of objects from list of jobjects based on key exists or not?
- using linq, update one node in an xml item
- Translate LINQ Contains to OR
- Sum of one after another sequence
- Select Multiple elements in a row using Linq
- C# LINQ Query with Calculated Field and Subquery in a Select Clause
- ASP.Net C# MVC Group domain model and place results into ViewModel
- subquery with top 1 and more than equal to using Linq
- Get Sum of Property from Generic list having another generic list
- How to write dynamic Linq to count matching numbers
- LINQ Query (Group BY) one column
- Partial ungrouping list of duplicate values
- how to join a set of XElements to the values of a struct?
- Reorder a list of items and update in the database