<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>int Archives : Binary Bits</title>
	<atom:link href="https://blog.binarybits.net/tag/int/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.binarybits.net/tag/int/</link>
	<description>Bits &#38; Pieces - A blog by Kannan Balasubramanian</description>
	<lastBuildDate>Thu, 06 Sep 2012 06:51:47 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Convert List&#060;int&#062; to List&#060;string&#062; in C#</title>
		<link>https://blog.binarybits.net/convert-listint-to-liststring-in-c/</link>
					<comments>https://blog.binarybits.net/convert-listint-to-liststring-in-c/#respond</comments>
		
		<dc:creator><![CDATA[Kannan]]></dc:creator>
		<pubDate>Thu, 06 Sep 2012 06:25:23 +0000</pubDate>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Convert]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[Integer List]]></category>
		<category><![CDATA[List]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[String List]]></category>
		<guid isPermaLink="false">https://blog.binarybits.net/?p=360</guid>

					<description><![CDATA[<p>I was faced with a micro challenge, of converting a List&#60;int&#62; to List&#60;string&#62;. After struggling for some time, decided to Google and found the the following solution ! List intList = new List(); List stringList = new List(); for (int i = 0; i &#60; 10; i++) intList.Add(i); stringList = intList.ConvertAll(delegate(int i) { return i.ToString(); [&#8230;]</p>
<p>The post <a href="https://blog.binarybits.net/convert-listint-to-liststring-in-c/">Convert List&lt;int&gt; to List&lt;string&gt; in C#</a> appeared first on <a href="https://blog.binarybits.net">Binary Bits</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I was faced with a micro challenge, of converting a List&lt;int&gt; to List&lt;string&gt;. After struggling for some time, decided to Google and found the the following solution !</p>
<pre class="lang:c# decode:true">List intList = new List();
List stringList = new List();

for (int i = 0; i &lt; 10; i++)
	intList.Add(i);

stringList = intList.ConvertAll(delegate(int i) { return i.ToString(); });</pre>
<p>Source: <a href="http://stackoverflow.com/questions/44942/cast-listint-to-liststring-in-net-2-0">http://stackoverflow.com/questions/44942/cast-listint-to-liststring-in-net-2-0</a></p>
<p>The post <a href="https://blog.binarybits.net/convert-listint-to-liststring-in-c/">Convert List&lt;int&gt; to List&lt;string&gt; in C#</a> appeared first on <a href="https://blog.binarybits.net">Binary Bits</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.binarybits.net/convert-listint-to-liststring-in-c/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: blog.binarybits.net @ 2026-04-23 06:38:47 by W3 Total Cache
-->