<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for C# 411</title>
	<atom:link href="http://www.csharp411.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com</link>
	<description>C# Information, Code, Tips and News</description>
	<lastBuildDate>Sat, 13 Mar 2010 00:13:45 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Prevent Beep for TextBox Enter by Miguel</title>
		<link>http://www.csharp411.com/prevent-beep-for-textbox-enter/comment-page-1/#comment-5402</link>
		<dc:creator>Miguel</dc:creator>
		<pubDate>Sat, 13 Mar 2010 00:13:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/prevent-beep-for-textbox-enter/#comment-5402</guid>
		<description>Great answer!!
e.SuppressKeyPress = true;
works perfectly.</description>
		<content:encoded><![CDATA[<p>Great answer!!<br />
e.SuppressKeyPress = true;<br />
works perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C# Convert String to Stream, and Stream to String by timm</title>
		<link>http://www.csharp411.com/c-convert-string-to-stream-and-stream-to-string/comment-page-1/#comment-5401</link>
		<dc:creator>timm</dc:creator>
		<pubDate>Fri, 12 Mar 2010 18:49:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-convert-string-to-stream-and-stream-to-string/#comment-5401</guid>
		<description>@krishna: Use the Join method on the String class.  For example, to join the array of strings with a newline between each string:

int count = 100;
string[] strings = new string[count]
for (int i = 0; i &lt; count; i++)
   strings[i] = i.ToString();
string joined = String.Join( &quot;\n&quot;, strings );</description>
		<content:encoded><![CDATA[<p>@krishna: Use the Join method on the String class.  For example, to join the array of strings with a newline between each string:</p>
<p>int count = 100;<br />
string[] strings = new string[count]<br />
for (int i = 0; i < count; i++)<br />
   strings[i] = i.ToString();<br />
string joined = String.Join( "\n", strings );</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C# Convert String to Stream, and Stream to String by krishna</title>
		<link>http://www.csharp411.com/c-convert-string-to-stream-and-stream-to-string/comment-page-1/#comment-5400</link>
		<dc:creator>krishna</dc:creator>
		<pubDate>Fri, 12 Mar 2010 07:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-convert-string-to-stream-and-stream-to-string/#comment-5400</guid>
		<description>hi ...

I want to convert an array of string to a normal string variable.... can anyone give me the code....

eg :

string[] final should be converted to string fin....</description>
		<content:encoded><![CDATA[<p>hi &#8230;</p>
<p>I want to convert an array of string to a normal string variable&#8230;. can anyone give me the code&#8230;.</p>
<p>eg :</p>
<p>string[] final should be converted to string fin&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C# Convert String to Stream, and Stream to String by Frozzeg</title>
		<link>http://www.csharp411.com/c-convert-string-to-stream-and-stream-to-string/comment-page-1/#comment-5398</link>
		<dc:creator>Frozzeg</dc:creator>
		<pubDate>Fri, 05 Mar 2010 13:44:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-convert-string-to-stream-and-stream-to-string/#comment-5398</guid>
		<description>easy and helpful, thx)</description>
		<content:encoded><![CDATA[<p>easy and helpful, thx)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C# Universal Type Converter by Jonny</title>
		<link>http://www.csharp411.com/c-universal-type-converter/comment-page-1/#comment-5397</link>
		<dc:creator>Jonny</dc:creator>
		<pubDate>Fri, 05 Mar 2010 01:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/c-universal-type-converter/#comment-5397</guid>
		<description>Interesting, but I&#039;m not sure how useful it is. Just imagine having to remember the type of each property - a nightmare if used in a larger application. What&#039;s worse, if you should get a type wrong somewhere there&#039;s no exception thrown, instead a default value is returned. Looks suspiciously like an anti-pattern to me.</description>
		<content:encoded><![CDATA[<p>Interesting, but I'm not sure how useful it is. Just imagine having to remember the type of each property &#8211; a nightmare if used in a larger application. What's worse, if you should get a type wrong somewhere there's no exception thrown, instead a default value is returned. Looks suspiciously like an anti-pattern to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C# Read Text File Line-by-Line by timm</title>
		<link>http://www.csharp411.com/c-read-text-file-line-by-line/comment-page-1/#comment-5396</link>
		<dc:creator>timm</dc:creator>
		<pubDate>Tue, 02 Mar 2010 14:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-read-text-file-line-by-line/#comment-5396</guid>
		<description>@Jovit, here&#039;s a code snippet that may do what you want.  You&#039;ll need to add error-handling, check to ensure the input files are the same length, strip any whitespace, etc.  This also wouldn&#039;t be the best approach for very large files, but hopefully you get the idea.

string[] lines1 = File.ReadAllLines( &quot;file1.txt&quot; );
string[] lines2 = File.ReadAllLines( &quot;file2.txt&quot; );
string[] lines3 = File.ReadAllLines( &quot;file3.txt&quot; );
StringBuilder sb = new StringBuilder();
int count = lines1.Length;
for (int i = 0; i &lt; count; i++)
{
	string line = String.Format( &quot;{0} , {1} , {2}&quot;, lines1[i], lines2[i], lines3[i] );
	sb.AppendLine( line );
}
File.WriteAllText( &quot;output.txt&quot;, sb.ToString() );</description>
		<content:encoded><![CDATA[<p>@Jovit, here's a code snippet that may do what you want.  You'll need to add error-handling, check to ensure the input files are the same length, strip any whitespace, etc.  This also wouldn't be the best approach for very large files, but hopefully you get the idea.</p>
<p>string[] lines1 = File.ReadAllLines( "file1.txt" );<br />
string[] lines2 = File.ReadAllLines( "file2.txt" );<br />
string[] lines3 = File.ReadAllLines( "file3.txt" );<br />
StringBuilder sb = new StringBuilder();<br />
int count = lines1.Length;<br />
for (int i = 0; i < count; i++)<br />
{<br />
	string line = String.Format( "{0} , {1} , {2}", lines1[i], lines2[i], lines3[i] );<br />
	sb.AppendLine( line );<br />
}<br />
File.WriteAllText( "output.txt", sb.ToString() );</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Constructor Chaining by Announcing: TinyIoC &#8211; An Easy to Use, Hassle Free, Inversion of Control Container &#124; GrumpyDev</title>
		<link>http://www.csharp411.com/constructor-chaining/comment-page-1/#comment-5395</link>
		<dc:creator>Announcing: TinyIoC &#8211; An Easy to Use, Hassle Free, Inversion of Control Container &#124; GrumpyDev</dc:creator>
		<pubDate>Tue, 02 Mar 2010 06:58:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/constructor-chaining/#comment-5395</guid>
		<description>[...] Whenever I start a new “pet” project I usually *want* to use IoC, but I don’t really want the hassle of taking a dependency on a container, or adding another binary to my project. Usually this leaves me using “poor man’s IoC”, whereby I define dependencies in my constructors, but I pass them in manually or construct them using constructor chaining. [...]</description>
		<content:encoded><![CDATA[<p>[...] Whenever I start a new “pet” project I usually *want* to use IoC, but I don’t really want the hassle of taking a dependency on a container, or adding another binary to my project. Usually this leaves me using “poor man’s IoC”, whereby I define dependencies in my constructors, but I pass them in manually or construct them using constructor chaining. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C# Read Text File Line-by-Line by jovit</title>
		<link>http://www.csharp411.com/c-read-text-file-line-by-line/comment-page-1/#comment-5394</link>
		<dc:creator>jovit</dc:creator>
		<pubDate>Tue, 02 Mar 2010 04:00:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-read-text-file-line-by-line/#comment-5394</guid>
		<description>hello, i&#039;m a student studying C# because of our final project..can anyone help me please about merging three text files which are from saved points gathered from zedgraph to be separated by comma..
for example

file1.txt contains
1
2
3
file2.txt contains
4
5
6
file3.txt contains
7
8
9
through which i need to have an output of

1 , 4 , 7
2 , 5 , 8
3 , 6 , 9
...thank you in advance.. this is very urgent and important..if you have any codes available..tnx.</description>
		<content:encoded><![CDATA[<p>hello, i'm a student studying C# because of our final project..can anyone help me please about merging three text files which are from saved points gathered from zedgraph to be separated by comma..<br />
for example</p>
<p>file1.txt contains<br />
1<br />
2<br />
3<br />
file2.txt contains<br />
4<br />
5<br />
6<br />
file3.txt contains<br />
7<br />
8<br />
9<br />
through which i need to have an output of</p>
<p>1 , 4 , 7<br />
2 , 5 , 8<br />
3 , 6 , 9<br />
&#8230;thank you in advance.. this is very urgent and important..if you have any codes available..tnx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C# Programmer Salaries by boricua</title>
		<link>http://www.csharp411.com/c-programmer-salaries/comment-page-1/#comment-5393</link>
		<dc:creator>boricua</dc:creator>
		<pubDate>Sat, 27 Feb 2010 02:44:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-programmer-salaries/#comment-5393</guid>
		<description>This is true in the United States, in crappy thrid world countries like Puerto Rico the salary scale is:

$25,000 - $35,000

25K for entry levels (college graduates with less than 5 years of experience)
30 - 35K for people with over 5 years of experience.

About 35K to 40K (extremely lucky case) is what you can expect.</description>
		<content:encoded><![CDATA[<p>This is true in the United States, in crappy thrid world countries like Puerto Rico the salary scale is:</p>
<p>$25,000 &#8211; $35,000</p>
<p>25K for entry levels (college graduates with less than 5 years of experience)<br />
30 &#8211; 35K for people with over 5 years of experience.</p>
<p>About 35K to 40K (extremely lucky case) is what you can expect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Console Output from a WinForms Application by Ray</title>
		<link>http://www.csharp411.com/console-output-from-winforms-application/comment-page-1/#comment-5392</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Thu, 25 Feb 2010 09:53:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/console-output-from-winforms-application/#comment-5392</guid>
		<description>Just an FYI, this may not be a huge concern, I&#039;ve noticed that when ran from a batch file, this solution works well which was the point of me adding cmd line functionality, so I&#039;m happy, although obviously I still want &quot;perfect&quot; :)</description>
		<content:encoded><![CDATA[<p>Just an FYI, this may not be a huge concern, I've noticed that when ran from a batch file, this solution works well which was the point of me adding cmd line functionality, so I'm happy, although obviously I still want "perfect" <img src='http://www.csharp411.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
