<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>C# 411</title>
	
	<link>http://www.csharp411.com</link>
	<description>C# Information, Code, Tips and News</description>
	<lastBuildDate>Mon, 19 Jul 2010 14:56:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CSharp411" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="csharp411" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">CSharp411</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>C# Code Converter</title>
		<link>http://www.csharp411.com/net-code-converter-c-or-vb-to-c-vb-python-or-ruby/</link>
		<comments>http://www.csharp411.com/net-code-converter-c-or-vb-to-c-vb-python-or-ruby/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 14:56:35 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/net-code-converter-c-or-vb-to-c-vb-python-or-ruby/</guid>
		<description><![CDATA[DeveloperFusion offers a free .NET code converter.&#160; Simply paste your C# or VB.NET code into this web-based tool, then select your target language: C#, VB.NET, Python or Ruby.&#160; Supports syntax up to .NET 3.5.
Code Converter


Related posts:C# Universal Type ConverterFree Developer ToolsVisual Studio 2008 and .NET 3.5 Released


Related posts:<ol><li><a href='http://www.csharp411.com/c-universal-type-converter/' rel='bookmark' title='Permanent Link: C# Universal Type Converter'>C# Universal Type Converter</a></li><li><a href='http://www.csharp411.com/free-developer-tools/' rel='bookmark' title='Permanent Link: Free Developer Tools'>Free Developer Tools</a></li><li><a href='http://www.csharp411.com/visual-studio-2008-and-net-35-released/' rel='bookmark' title='Permanent Link: Visual Studio 2008 and .NET 3.5 Released'>Visual Studio 2008 and .NET 3.5 Released</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/net-code-converter-c-or-vb-to-c-vb-python-or-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Follow C# 411 on Twitter</title>
		<link>http://www.csharp411.com/follow-c-411-on-twitter/</link>
		<comments>http://www.csharp411.com/follow-c-411-on-twitter/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 14:47:38 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/follow-c-411-on-twitter/</guid>
		<description><![CDATA[Tired of RSS feeds?&#160; Now you can follow C# 411 on Twitter!
 
Cool Twitter logo from here


Related posts:New .NET LogoAdd Drop Shadow to Borderless FormC# Focus TextBox on Form Load


Related posts:<ol><li><a href='http://www.csharp411.com/new-net-logo/' rel='bookmark' title='Permanent Link: New .NET Logo'>New .NET Logo</a></li><li><a href='http://www.csharp411.com/add-drop-shadow-to-borderless-form/' rel='bookmark' title='Permanent Link: Add Drop Shadow to Borderless Form'>Add Drop Shadow to Borderless Form</a></li><li><a href='http://www.csharp411.com/c-focus-textbox-on-form-load/' rel='bookmark' title='Permanent Link: C# Focus TextBox on Form Load'>C# Focus TextBox on Form Load</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/follow-c-411-on-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Type Name “UITypeEditor” Not Found</title>
		<link>http://www.csharp411.com/type-name-uitypeeditor-not-found/</link>
		<comments>http://www.csharp411.com/type-name-uitypeeditor-not-found/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 23:56:33 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[User Interface]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/type-name-uitypeeditor-not-found/</guid>
		<description><![CDATA[This is one of those “D’oh!” moments.&#160; You’re creating your own UITypeEditor.&#160; You know the UITypeEditor class is located in the System.Drawing.Design namespace.&#160; So naturally you want to add to your Visual Studio project a reference to the System.Drawing.Design.dll, right?&#160; Wrong!&#160; When you compile your project, the following error may appear:
The type or namespace name [...]


Related posts:<ol><li><a href='http://www.csharp411.com/adding-assemblies-to-the-visual-studio-add-reference-dialog/' rel='bookmark' title='Permanent Link: Adding Assemblies to the Visual Studio &#34;Add Reference&#34; Dialog'>Adding Assemblies to the Visual Studio &#34;Add Reference&#34; Dialog</a></li><li><a href='http://www.csharp411.com/c-universal-type-converter/' rel='bookmark' title='Permanent Link: C# Universal Type Converter'>C# Universal Type Converter</a></li><li><a href='http://www.csharp411.com/ieventhandlerservice-already-exists-in-the-service-container/' rel='bookmark' title='Permanent Link: IEventHandlerService Already Exists in the Service Container'>IEventHandlerService Already Exists in the Service Container</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/type-name-uitypeeditor-not-found/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Add Drop Shadow to Borderless Form</title>
		<link>http://www.csharp411.com/add-drop-shadow-to-borderless-form/</link>
		<comments>http://www.csharp411.com/add-drop-shadow-to-borderless-form/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 15:32:23 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[Windows Forms]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/add-drop-shadow-to-borderless-form/</guid>
		<description><![CDATA[When you create a Form with a border, Windows automatically draws a drop shadow around the form, as shown here:

However, if you set the form’s FormBorderStyle property to None, Windows draws neither the form border nor the drop shadow, as shown here:

 

So what if you don’t want a form border, but you do want [...]


Related posts:<ol><li><a href='http://www.csharp411.com/hide-form-from-alttab/' rel='bookmark' title='Permanent Link: Hide Form from Alt+Tab'>Hide Form from Alt+Tab</a></li><li><a href='http://www.csharp411.com/c-focus-textbox-on-form-load/' rel='bookmark' title='Permanent Link: C# Focus TextBox on Form Load'>C# Focus TextBox on Form Load</a></li><li><a href='http://www.csharp411.com/c-winforms-form-event-order/' rel='bookmark' title='Permanent Link: C# WinForms Form Event Order'>C# WinForms Form Event Order</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/add-drop-shadow-to-borderless-form/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>.NET Framework 4 and Extensions Poster</title>
		<link>http://www.csharp411.com/net-framework-and-visual-studio-posters/</link>
		<comments>http://www.csharp411.com/net-framework-and-visual-studio-posters/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 14:34:01 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Documentation]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/net-framework-and-visual-studio-posters/</guid>
		<description><![CDATA[ 
Click the image above to download a .NET Framework 4 and Extensions poster from Microsoft.
Want more .NET posters?&#160; Devcurry has published a collection of .NET Framework and Visual Studio posters including keyboard shortcut, namespace and type posters.
.NET and Visual Studio Poster Collection


Related posts:Visual Studio 2010 and .NET Framework 4.0 Released TodayVisual Studio 2010 and [...]


Related posts:<ol><li><a href='http://www.csharp411.com/visual-studio-2010-and-net-framework-4-0-released-today/' rel='bookmark' title='Permanent Link: Visual Studio 2010 and .NET Framework 4.0 Released Today'>Visual Studio 2010 and .NET Framework 4.0 Released Today</a></li><li><a href='http://www.csharp411.com/visual-studio-2010-and-net-framework-4-release-candidate-2/' rel='bookmark' title='Permanent Link: Visual Studio 2010 and .NET Framework 4 Release Candidate'>Visual Studio 2010 and .NET Framework 4 Release Candidate</a></li><li><a href='http://www.csharp411.com/documentation-available-for-net-framework-4-and-visual-studio-2010/' rel='bookmark' title='Permanent Link: Documentation Available for .NET Framework 4 and Visual Studio 2010'>Documentation Available for .NET Framework 4 and Visual Studio 2010</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/net-framework-and-visual-studio-posters/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Get Temporary Directory</title>
		<link>http://www.csharp411.com/get-temporary-directory/</link>
		<comments>http://www.csharp411.com/get-temporary-directory/#comments</comments>
		<pubDate>Sat, 01 May 2010 15:32:05 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[IO]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/get-temporary-directory/</guid>
		<description><![CDATA[To get the path of the current user's temporary folder, call the GetTempPath method in the System.IO namespace:
string tempPath = System.IO.Path.GetTempPath();
  
On Windows Vista and 7, this method will return the following path:

C:\Users\UserName\AppData\Local\Temp\



Related posts:C# Copy Folder RecursivelyCheck Valid File Path in C#Truncate File Path with Ellipsis


Related posts:<ol><li><a href='http://www.csharp411.com/c-copy-folder-recursively/' rel='bookmark' title='Permanent Link: C# Copy Folder Recursively'>C# Copy Folder Recursively</a></li><li><a href='http://www.csharp411.com/check-valid-file-path-in-c/' rel='bookmark' title='Permanent Link: Check Valid File Path in C#'>Check Valid File Path in C#</a></li><li><a href='http://www.csharp411.com/truncate-file-path-with-ellipsis/' rel='bookmark' title='Permanent Link: Truncate File Path with Ellipsis'>Truncate File Path with Ellipsis</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/get-temporary-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How ï»¿ and 65279 and Other Byte Order Marks (BOM) Can Mess Up Your XML</title>
		<link>http://www.csharp411.com/how-and-65279-and-other-byte-order-marks-bom-can-mess-up-your-xml/</link>
		<comments>http://www.csharp411.com/how-and-65279-and-other-byte-order-marks-bom-can-mess-up-your-xml/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 01:06:18 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/how-and-65279-and-other-byte-order-marks-bom-can-mess-up-your-xml/</guid>
		<description><![CDATA[When you download XML text from the Web, you may find “garbage characters” in the start of your XML string.&#160; For example, I encountered this result when I downloaded an XML string using WebClient.DownloadString method:
ï»¿&#60;Root&#62;&#60;Item&#62;Hello, World&#60;/Item&#62;&#60;/Root&#62;

What you are likely seeing is a Byte Order Mark (BOM), which is a Unicode character that indicates the endian-ness [...]


Related posts:<ol><li><a href='http://www.csharp411.com/c-convert-string-to-stream-and-stream-to-string/' rel='bookmark' title='Permanent Link: C# Convert String to Stream, and Stream to String'>C# Convert String to Stream, and Stream to String</a></li><li><a href='http://www.csharp411.com/c-convert-byte-array-to-string/' rel='bookmark' title='Permanent Link: C# Convert Byte Array to String'>C# Convert Byte Array to String</a></li><li><a href='http://www.csharp411.com/read-file-into-byte-array/' rel='bookmark' title='Permanent Link: Read File into Byte Array'>Read File into Byte Array</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/how-and-65279-and-other-byte-order-marks-bom-can-mess-up-your-xml/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>C# Convert Byte Array to String</title>
		<link>http://www.csharp411.com/c-convert-byte-array-to-string/</link>
		<comments>http://www.csharp411.com/c-convert-byte-array-to-string/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 00:47:57 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/c-convert-byte-array-to-string/</guid>
		<description><![CDATA[It’s easy to convert a byte array to a string.&#160; For an ASCII string, use the Encoding.ASCII.GetString static method:
byte[] buffer = new byte[10];
// todo: populate the buffer with string data
string s = Encoding.ASCII.GetString( buffer );
  


Related posts:Convert String to Byte ArrayC# Convert String to Stream, and Stream to StringRead File into Byte Array


Related posts:<ol><li><a href='http://www.csharp411.com/convert-string-to-byte-array/' rel='bookmark' title='Permanent Link: Convert String to Byte Array'>Convert String to Byte Array</a></li><li><a href='http://www.csharp411.com/c-convert-string-to-stream-and-stream-to-string/' rel='bookmark' title='Permanent Link: C# Convert String to Stream, and Stream to String'>C# Convert String to Stream, and Stream to String</a></li><li><a href='http://www.csharp411.com/read-file-into-byte-array/' rel='bookmark' title='Permanent Link: Read File into Byte Array'>Read File into Byte Array</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/c-convert-byte-array-to-string/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Convert String to Byte Array</title>
		<link>http://www.csharp411.com/convert-string-to-byte-array/</link>
		<comments>http://www.csharp411.com/convert-string-to-byte-array/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 20:18:57 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/convert-string-to-byte-array/</guid>
		<description><![CDATA[It’s easy to convert a string to a byte array.&#160; For an ASCII string, use the Encoding.ASCII.GetBytes static method:
string s = &#34;Test String&#34;;
byte[] byteArray = Encoding.ASCII.GetBytes( s );
  


Related posts:C# Convert Byte Array to StringC# Convert String to Stream, and Stream to StringRead File into Byte Array


Related posts:<ol><li><a href='http://www.csharp411.com/c-convert-byte-array-to-string/' rel='bookmark' title='Permanent Link: C# Convert Byte Array to String'>C# Convert Byte Array to String</a></li><li><a href='http://www.csharp411.com/c-convert-string-to-stream-and-stream-to-string/' rel='bookmark' title='Permanent Link: C# Convert String to Stream, and Stream to String'>C# Convert String to Stream, and Stream to String</a></li><li><a href='http://www.csharp411.com/read-file-into-byte-array/' rel='bookmark' title='Permanent Link: Read File into Byte Array'>Read File into Byte Array</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/convert-string-to-byte-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Read File into Byte Array</title>
		<link>http://www.csharp411.com/read-file-into-byte-array/</link>
		<comments>http://www.csharp411.com/read-file-into-byte-array/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 20:13:37 +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/read-file-into-byte-array/</guid>
		<description><![CDATA[It’s easy to read a file into a byte array.&#160; Just use the File.ReadAllBytes static method.&#160; This opens a binary file in read-only mode, reads the contents of the file into a byte array, and then closes the file.
string filePath = @&#34;C:\test.doc&#34;;
byte[] byteArray = File.ReadAllBytes( filePath );
  


Related posts:C# Read Text File Line-by-LineC# Convert [...]


Related posts:<ol><li><a href='http://www.csharp411.com/c-read-text-file-line-by-line/' rel='bookmark' title='Permanent Link: C# Read Text File Line-by-Line'>C# Read Text File Line-by-Line</a></li><li><a href='http://www.csharp411.com/c-convert-byte-array-to-string/' rel='bookmark' title='Permanent Link: C# Convert Byte Array to String'>C# Convert Byte Array to String</a></li><li><a href='http://www.csharp411.com/convert-string-to-byte-array/' rel='bookmark' title='Permanent Link: Convert String to Byte Array'>Convert String to Byte Array</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/read-file-into-byte-array/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
