<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/c-sharp</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 21 May 2013 20:48:59 GMT</pubDate>
<item>
<title>(C#) Check if a file is an executable. - jprochazka</title>
<link>http://snipplr.com/view/71221/check-if-a-file-is-an-executable/</link>
<description><![CDATA[ <p>A function to check the first two bytes to see if they match "MZ" marking it as an executable.</p> ]]></description>
<pubDate>Sat, 18 May 2013 05:02:45 GMT</pubDate>
<guid>http://snipplr.com/view/71221/check-if-a-file-is-an-executable/</guid>
</item>
<item>
<title>(C#) Convert Excel file (XLS) to CSV - engebaja</title>
<link>http://snipplr.com/view/71092/convert-excel-file-xls-to-csv/</link>
<description><![CDATA[ <p>Convert Excel file (XLS) to CSV</p> ]]></description>
<pubDate>Wed, 08 May 2013 16:54:17 GMT</pubDate>
<guid>http://snipplr.com/view/71092/convert-excel-file-xls-to-csv/</guid>
</item>
<item>
<title>(C#) RADGrid item command shortcut - box86rowh</title>
<link>http://snipplr.com/view/70987/radgrid-item-command-shortcut/</link>
<description><![CDATA[ <p>Allows quick access to boilerplate code</p> ]]></description>
<pubDate>Tue, 30 Apr 2013 23:31:48 GMT</pubDate>
<guid>http://snipplr.com/view/70987/radgrid-item-command-shortcut/</guid>
</item>
<item>
<title>(C#) Is this Number Prime - jholderman</title>
<link>http://snipplr.com/view/70930/is-this-number-prime/</link>
<description><![CDATA[ <p>Method to Check if an int is a Prime Number</p> ]]></description>
<pubDate>Thu, 25 Apr 2013 18:31:21 GMT</pubDate>
<guid>http://snipplr.com/view/70930/is-this-number-prime/</guid>
</item>
<item>
<title>(C#) JsonpFormatter for MVC WebAPI - dmilligan</title>
<link>http://snipplr.com/view/70756/jsonpformatter-for-mvc-webapi/</link>
<description><![CDATA[ <p>A JSONP formatter for MVC 4 WebAPI.</p> ]]></description>
<pubDate>Fri, 12 Apr 2013 00:06:14 GMT</pubDate>
<guid>http://snipplr.com/view/70756/jsonpformatter-for-mvc-webapi/</guid>
</item>
<item>
<title>(C#) Lambda Expression To Select a distinct set of objects - kwhite1975</title>
<link>http://snipplr.com/view/70732/lambda-expression-to-select-a-distinct-set-of-objects/</link>
<description><![CDATA[ <p>This line of code allows you to group a set of objects by a field and then get the first item in that group.  This allows you to do a distinct by a specific property.</p> ]]></description>
<pubDate>Wed, 10 Apr 2013 07:32:16 GMT</pubDate>
<guid>http://snipplr.com/view/70732/lambda-expression-to-select-a-distinct-set-of-objects/</guid>
</item>
<item>
<title>(C#) How to mock an inline table valued function in LINQ to SQL - kirstencris</title>
<link>http://snipplr.com/view/70662/how-to-mock-an-inline-table-valued-function-in-linq-to-sql/</link>
<description><![CDATA[ <p>This example is for an  inline table value function with one string parameter
t1 is of type YourDataContext and t2 is of type string(hence the name of the mole method)</p> ]]></description>
<pubDate>Fri, 05 Apr 2013 00:14:45 GMT</pubDate>
<guid>http://snipplr.com/view/70662/how-to-mock-an-inline-table-valued-function-in-linq-to-sql/</guid>
</item>
<item>
<title>(C#) Create Comma Separated List - kwhite1975</title>
<link>http://snipplr.com/view/70640/create-comma-separated-list/</link>
<description><![CDATA[ <p>This simple code creates a comma separated list.  The beauty of this code is that most times you have to check for the last item and do something different or cut off the last character to make the list work well.  This does all of that in a single line.</p> ]]></description>
<pubDate>Wed, 03 Apr 2013 06:43:55 GMT</pubDate>
<guid>http://snipplr.com/view/70640/create-comma-separated-list/</guid>
</item>
<item>
<title>(C#) Draw a border around the form - thomas-h</title>
<link>http://snipplr.com/view/70479/draw-a-border-around-the-form/</link>
<description><![CDATA[ <p>Draw a border around the form.
Add to the paint event handler.</p> ]]></description>
<pubDate>Wed, 20 Mar 2013 06:44:28 GMT</pubDate>
<guid>http://snipplr.com/view/70479/draw-a-border-around-the-form/</guid>
</item>
<item>
<title>(C#) XMLNodeList to HTML Table based on Ektron Smartform data - dego89</title>
<link>http://snipplr.com/view/70320/xmlnodelist-to-html-table-based-on-ektron-smartform-data/</link>
<description><![CDATA[ <p>Ektron smartform data contains a xml nodelist which I put in a data table and parse out into an html table</p> ]]></description>
<pubDate>Fri, 08 Mar 2013 02:33:03 GMT</pubDate>
<guid>http://snipplr.com/view/70320/xmlnodelist-to-html-table-based-on-ektron-smartform-data/</guid>
</item>
<item>
<title>(C#) Ektron list based on taxonomy id - dego89</title>
<link>http://snipplr.com/view/70319/ektron-list-based-on-taxonomy-id/</link>
<description><![CDATA[ <p>The following code retrieves a list of content based on a taxonomy id. The list is bound to a repeater that display a preview of the content with a quick link to a content page. The content comes in based on the previous taxonomy id but exposes a content list which can be used gather the html property's. Then I use a regex to take our specific nodes for the preview columns in my table.</p> ]]></description>
<pubDate>Fri, 08 Mar 2013 02:23:00 GMT</pubDate>
<guid>http://snipplr.com/view/70319/ektron-list-based-on-taxonomy-id/</guid>
</item>
<item>
<title>(C#) RadTreeView - strelaras</title>
<link>http://snipplr.com/view/70302/radtreeview/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 07 Mar 2013 02:09:19 GMT</pubDate>
<guid>http://snipplr.com/view/70302/radtreeview/</guid>
</item>
<item>
<title>(C#) Number formatting - strelaras</title>
<link>http://snipplr.com/view/70299/number-formatting/</link>
<description><![CDATA[ <p>(More examples to be added)</p> ]]></description>
<pubDate>Wed, 06 Mar 2013 22:39:30 GMT</pubDate>
<guid>http://snipplr.com/view/70299/number-formatting/</guid>
</item>
<item>
<title>(C#) DateTime methods - strelaras</title>
<link>http://snipplr.com/view/70297/datetime-methods/</link>
<description><![CDATA[ <p>(more examples to be added)</p> ]]></description>
<pubDate>Wed, 06 Mar 2013 22:33:27 GMT</pubDate>
<guid>http://snipplr.com/view/70297/datetime-methods/</guid>
</item>
<item>
<title>(C#) Get a SHA1 hash of a string - strelaras</title>
<link>http://snipplr.com/view/70294/get-a-sha1-hash-of-a-string/</link>
<description><![CDATA[ <p>(example to be enhanced)</p> ]]></description>
<pubDate>Wed, 06 Mar 2013 22:26:23 GMT</pubDate>
<guid>http://snipplr.com/view/70294/get-a-sha1-hash-of-a-string/</guid>
</item>
<item>
<title>(C#) create XElement from string - samilce</title>
<link>http://snipplr.com/view/70272/create-xelement-from-string/</link>
<description><![CDATA[ <p>Reading xml from file and create XElement from string</p> ]]></description>
<pubDate>Wed, 06 Mar 2013 00:11:51 GMT</pubDate>
<guid>http://snipplr.com/view/70272/create-xelement-from-string/</guid>
</item>
<item>
<title>(C#) Counting Messages in an MSMQ MessageQueue - gaserland</title>
<link>http://snipplr.com/view/70187/counting-messages-in-an-msmq-messagequeue/</link>
<description><![CDATA[ <p>Counting Messages in an MSMQ MessageQueue from C#</p> ]]></description>
<pubDate>Fri, 01 Mar 2013 13:00:33 GMT</pubDate>
<guid>http://snipplr.com/view/70187/counting-messages-in-an-msmq-messagequeue/</guid>
</item>
<item>
<title>(C#) different class for alternating item - samilce</title>
<link>http://snipplr.com/view/70055/different-class-for-alternating-item/</link>
<description><![CDATA[ <p>To use a different class for alternating item of asp.net repeater control</p> ]]></description>
<pubDate>Fri, 22 Feb 2013 19:06:47 GMT</pubDate>
<guid>http://snipplr.com/view/70055/different-class-for-alternating-item/</guid>
</item>
<item>
<title>(C#) Free iTunes Gift Card Generator App - jessicabutlerjcm</title>
<link>http://snipplr.com/view/69965/free-itunes-gift-card-generator-app/</link>
<description><![CDATA[ <p>The apple business is probable among the most well-known businesses at this moment within the matter from the extremely well best devices. Apple mackintosh produces numerous judgements for cutting-edge together with groundbreaking gizmos. The whole Apple's goods employ apple itunes. Numerous the Apple's prides convey the following item or service: mp3 player Mix up, mp3 player Ipod Nano, ipod touch Speak to together with apple iphone.</p> ]]></description>
<pubDate>Sun, 17 Feb 2013 18:38:29 GMT</pubDate>
<guid>http://snipplr.com/view/69965/free-itunes-gift-card-generator-app/</guid>
</item>
<item>
<title>(C#) US State to Abbreviation Dictionary and Conversion - misholson</title>
<link>http://snipplr.com/view/69920/us-state-to-abbreviation-dictionary-and-conversion/</link>
<description><![CDATA[ <p>Two static dictionaries for converting US state names to abbreviations, and the reverse.</p> ]]></description>
<pubDate>Wed, 13 Feb 2013 07:18:00 GMT</pubDate>
<guid>http://snipplr.com/view/69920/us-state-to-abbreviation-dictionary-and-conversion/</guid>
</item>
</channel>
</rss>