C# has Convert.ToInt32()
which should do what you’re looking for.
More Related Contents:
- Returning IEnumerable vs. IQueryable
- Difference Between Select and SelectMany
- Return anonymous type results?
- LINQ – Left Join, Group By, and Count
- When should I dispose of a data context
- How to do a subquery in LINQ?
- LINQ to SQL and a running total on ordered results
- Understanding .AsEnumerable() in LINQ to SQL
- How to return anonymous type from c# method that uses LINQ to SQL [duplicate]
- LINQ: combining join and group by
- Convert Linq Query Result to Dictionary
- Am I misunderstanding LINQ to SQL .AsEnumerable()?
- LINQ Where Ignore Accentuation and Case
- Operation could destabilize the runtime?
- Get table-data from table-name in LINQ DataContext
- DISTINCT() and ORDERBY issue
- Linq query with nullable sum
- LINQ to SQL using GROUP BY and COUNT(DISTINCT)
- LINQ Expression to return Property value?
- Max or Default?
- How to make LINQ execute a (SQL) LIKE range search
- Will using LINQ to SQL help prevent SQL injection
- How do I do a left outer join with Dynamic Linq?
- Get sum of two columns in one LINQ query
- Last and LastOrDefault not supported
- Linq “Could not translate expression… into SQL and could not treat it as a local expression.”
- Accessing System Databases/Tables using LINQ to SQL?
- LINQ to SQL Where Clause Optional Criteria
- Linq where column == (null reference) not the same as column == null
- If Else in LINQ