<?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>C# 411 &#187; Tips</title>
	<atom:link href="http://www.csharp411.com/category/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com</link>
	<description>C# Development</description>
	<lastBuildDate>Sat, 19 Nov 2011 19:34:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>C# Custom Enumerators Made Simple with the Yield Keyword</title>
		<link>http://www.csharp411.com/c-custom-enumerators-made-simple-with-the-yield-keyword/</link>
		<comments>http://www.csharp411.com/c-custom-enumerators-made-simple-with-the-yield-keyword/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 15:24:55 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Collections]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/c-custom-enumerators-made-simple-with-the-yield-keyword/</guid>
		<description><![CDATA[An enumerator enables you to iterate over a collection in a foreach loop.&#160; You can use foreach to iterate over all C# collection classes, because all C# collection classes inherit from the IEnumerable interface (regular or generic).&#160; IEnumerable contains the GetEnumerator method, which returns an enumerator. Occasionally you may find a need to create a [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/c-custom-enumerators-made-simple-with-the-yield-keyword/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>C# Internal Interface</title>
		<link>http://www.csharp411.com/c-internal-interface/</link>
		<comments>http://www.csharp411.com/c-internal-interface/#comments</comments>
		<pubDate>Sat, 05 Mar 2011 17:15:15 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/c-internal-interface/</guid>
		<description><![CDATA[When building a C# interface, you may find a need for both public and internal methods, such as: public class MyClass : IMyInterface { &#160;&#160;&#160; public void MyPublicMethod() { } &#160;&#160;&#160; internal void MyInternalMethod() { } } public interface IMyInterface { &#160;&#160;&#160; public void MyPublicMethod(); &#160;&#160;&#160; internal void MyInternalMethod(); } (For simplicity in this example, [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/c-internal-interface/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Iterate Over IDictionary</title>
		<link>http://www.csharp411.com/how-to-iterate-idictionary/</link>
		<comments>http://www.csharp411.com/how-to-iterate-idictionary/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 15:11:03 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[Collections]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/how-to-iterate-idictionary/</guid>
		<description><![CDATA[To iterate over an IDictionary&#60;x,y&#62; interface, use the KeyValuePair&#60;x,y&#62; structure.&#160; Following is a simple example: This example produces the following output: Right=Drive, Age=16 Right=Vote, Age=18 Right=Drink, Age=21]]></description>
		<wfw:commentRss>http://www.csharp411.com/how-to-iterate-idictionary/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Force XmlWriter or XmlTextWriter to use Encoding Other Than UTF-16</title>
		<link>http://www.csharp411.com/how-to-force-xmlwriter-or-xmltextwriter-to-use-encoding-other-than-utf-16/</link>
		<comments>http://www.csharp411.com/how-to-force-xmlwriter-or-xmltextwriter-to-use-encoding-other-than-utf-16/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 16:52:50 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[IO]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/how-to-force-xmlwriter-or-xmltextwriter-to-use-encoding-other-than-utf-16/</guid>
		<description><![CDATA[You may have noticed the first line of XML output generated by XmlWriter or XmlTextWriter shows that the encoding defaults to UTF-16: &#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-16&#34;?&#62; This happens even if you explicitly set the Encoding property in the XmlWriterSettings to something different, such as UTF-8: The problem occurs because the StringWriter defaults to UTF-16.&#160; (It’s not [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/how-to-force-xmlwriter-or-xmltextwriter-to-use-encoding-other-than-utf-16/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rename a File in C#</title>
		<link>http://www.csharp411.com/rename-a-file-in-c/</link>
		<comments>http://www.csharp411.com/rename-a-file-in-c/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 00:14:19 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[IO]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/rename-a-file-in-c/</guid>
		<description><![CDATA[If you want to rename a file in C#, you’d expect there to be a File.Rename method, but instead you must use the System.IO.File.Move method.&#160; You must also handle a special case when the new file name has the same letters but with difference case.&#160; For example, if you want to rename “test.doc” to “Test.doc”, [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/rename-a-file-in-c/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Project is not selected for building in solution configuration</title>
		<link>http://www.csharp411.com/project-is-not-selected-for-building-in-solution-configuration/</link>
		<comments>http://www.csharp411.com/project-is-not-selected-for-building-in-solution-configuration/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 16:23:54 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[Build Process]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/project-is-not-selected-for-building-in-solution-configuration/</guid>
		<description><![CDATA[When building a Visual Studio project, you may encounter the following error: The project &#34;MyProject&#34; is not selected for building in solution configuration &#34;Debug&#124;Any CPU&#34;. This error occurs because the project has not been configured to build in your Visual Studio solution.&#160; The solution is simple: 1. In Visual Studio, click the Build &#62; Configuration [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/project-is-not-selected-for-building-in-solution-configuration/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Load a .NET Assembly into a Separate AppDomain So You Can Unload It</title>
		<link>http://www.csharp411.com/how-to-load-a-net-assembly-into-a-separate-appdomain-so-you-can-unload-it/</link>
		<comments>http://www.csharp411.com/how-to-load-a-net-assembly-into-a-separate-appdomain-so-you-can-unload-it/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 15:51:36 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[Reflection]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/how-to-load-a-net-assembly-into-a-separate-appdomain-so-you-can-unload-it/</guid>
		<description><![CDATA[There may be times when you wish to temporarily load a .NET assembly to inspect it, but you don’t want the assembly to remain in your program’s memory taking up resources.&#160; Unfortunately, once your program loads an assembly, there is no way to unload it.&#160; The best way is to create a separate AppDomain, load [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/how-to-load-a-net-assembly-into-a-separate-appdomain-so-you-can-unload-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Launch a Process Synchronously</title>
		<link>http://www.csharp411.com/how-to-launch-a-process-synchronously/</link>
		<comments>http://www.csharp411.com/how-to-launch-a-process-synchronously/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 15:51:56 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[Process]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/how-to-launch-a-process-synchronously/</guid>
		<description><![CDATA[Most developers use the Process.Start static method to run an external application from within C# code.&#160; The Start method launches the external process asynchronously, meaning that your C# code continues executing and does not wait for the process to finish. But occasionally you may wish to halt your program and wait for the external process [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/how-to-launch-a-process-synchronously/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Where to Find SN.exe</title>
		<link>http://www.csharp411.com/where-to-find-sn-exe/</link>
		<comments>http://www.csharp411.com/where-to-find-sn-exe/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 20:33:14 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/where-to-find-sn-exe/</guid>
		<description><![CDATA[SN.exe is a Strong Name tool that can sign assemblies, manage strong name keys, and generate and verify signatures.&#160; You will typically find it here: C:Program Files (x86)Microsoft Visual Studio 8SDKv2.0Bin If you cannot find it there, check “C:Program Files” on 32-bit systems.&#160; Also check the folders corresponding to other versions of Microsoft Visual Studio, [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/where-to-find-sn-exe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display Icons in a ListBox</title>
		<link>http://www.csharp411.com/display-icons-in-a-listbox/</link>
		<comments>http://www.csharp411.com/display-icons-in-a-listbox/#comments</comments>
		<pubDate>Sat, 09 Oct 2010 17:12:50 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[Controls]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[User Interface]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/display-icons-in-a-listbox/</guid>
		<description><![CDATA[The standard Windows Forms ListBox control is not designed to display an icon with each item.&#160; You can modify the ListBox to handle the DrawItem event and manually draw the items and their associated icons, as shown here and here.&#160; However, if you were hoping to use a standard off-the-shelf control with full icon support, [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/display-icons-in-a-listbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

