Sign In
Minh T. Nguyen's Blog
Minh T. Nguyen's Professional Blog on .NET/Silverlight development
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Alumni Panel
Berkeley
Facebook Application
IPTV Microsoft Mediaroom TV branding
lambda C# 3.0 generics List convert cast
mandelbrot silverlight
Mediaroom
Photosynth
UC Berkeley
Windows Vista Vietnamese Language Interface Pack LIP
Archive
Archives
February 2009
(1)
January 2009
(1)
December 2008
(1)
September 2008
(2)
June 2008
(1)
December 2007
(1)
November 2007
(1)
July 2007
(1)
February 2007
(1)
December 2006
(1)
August 2006
(1)
June 2006
(1)
March 2006
(2)
January 2006
(2)
June, 2008
MSDN Blogs
>
Minh T. Nguyen's Blog
>
June, 2008
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Minh T. Nguyen's Blog
Casting/converting generic List of a certain type into a List of another type in C#
Posted
over 4 years ago
by
minguyen
1
Comments
Here’s an easy way to convert a generic List of a specific type to a List of another type. List < double > listOfDoubles = new List < double >() {1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8, 9.9}; List < int > listOfIntegers = listOfDoubles...
Page 1 of 1 (1 items)