<?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/tags/parse</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 20 May 2013 17:24:58 GMT</pubDate>
<item>
<title>(C#) .NET - C# - WebClient and HtmlAgilityPack - Fetching and Parsing HTML - denakitan</title>
<link>http://snipplr.com/view/68101/net--c--webclient-and-htmlagilitypack--fetching-and-parsing-html/</link>
<description><![CDATA[ <p>Shows how to use WebClient class to retrieve HTML from an URL and then to use HtmlAgilityPack to parse it.</p> ]]></description>
<pubDate>Mon, 05 Nov 2012 14:50:26 GMT</pubDate>
<guid>http://snipplr.com/view/68101/net--c--webclient-and-htmlagilitypack--fetching-and-parsing-html/</guid>
</item>
<item>
<title>(C#) HideMyAss Proxy Grabber - icinNet</title>
<link>http://snipplr.com/view/65990/hidemyass-proxy-grabber/</link>
<description><![CDATA[ <p>A small snippet to parse out proxies from http://hidemyass.com/proxy-list/</p> ]]></description>
<pubDate>Fri, 06 Jul 2012 18:14:56 GMT</pubDate>
<guid>http://snipplr.com/view/65990/hidemyass-proxy-grabber/</guid>
</item>
<item>
<title>(C#) parse text file in C# - itinko</title>
<link>http://snipplr.com/view/41972/parse-text-file-in-c/</link>
<description><![CDATA[ <p>found this on a forum comment thought it would be useful</p> ]]></description>
<pubDate>Sun, 10 Oct 2010 07:54:18 GMT</pubDate>
<guid>http://snipplr.com/view/41972/parse-text-file-in-c/</guid>
</item>
<item>
<title>(C#) Return string from between two matched strings - blackf0rk</title>
<link>http://snipplr.com/view/35199/return-string-from-between-two-matched-strings/</link>
<description><![CDATA[ <p>This code will take a start and end string and then search for them within the subject string. It returns what is between the start and end strings. As an example, if I had the following text...

Some test text string, with a start  and an end .

...I could call this function to get the text between the  and the  strings. This function will return: "and an end"</p> ]]></description>
<pubDate>Tue, 25 May 2010 11:40:25 GMT</pubDate>
<guid>http://snipplr.com/view/35199/return-string-from-between-two-matched-strings/</guid>
</item>
<item>
<title>(C#) Enum Limitation Fix Using a Generic Class and Implicit Casting - bryanlyman</title>
<link>http://snipplr.com/view/24778/enum-limitation-fix-using-a-generic-class-and-implicit-casting/</link>
<description><![CDATA[ <p>For .net 2.0+   The one limitation to enumerations is revealed when you try to reverse lookup an enumeration value using Enum.Parse(). The parse function will return an inconsistent enum object if ever there are two or more enumerations with the same numeric value. This class fixes that problem. Written as a system extension and using implicit casting, the process has been made extremely easy and made the syntax for the parse function even simpler. The process even allows enumeration names starting with a number or the name of a C# keyword as long as the name is preceded by an underscore. The implicit cast from an Enum object to a Enum.Cast object has been deliberately left out to account for single directional assignment, which forces the class to be used properly. An Enum to Cast object lookup would defeat the whole purpose of the class if the implicit operator is used during runtime; for this purpose a user assignment operator of type String is supplied. This simply forces the user to use Cast = Enum.ToString() to parse to a correct object. The ToString() overload for a Cast object returns a Friendly name which replaces all underscores with spaces and even allows double underscores for commas and triple underscores for periods; for this reason, the implicit \"from string\" caster also converts from a friendly name to the proper Enum object. This makes it very handy for enumerating through a list of items for a combo or list box and converting back to the proper object by simply supplying the name of the list item.</p> ]]></description>
<pubDate>Mon, 14 Dec 2009 18:03:38 GMT</pubDate>
<guid>http://snipplr.com/view/24778/enum-limitation-fix-using-a-generic-class-and-implicit-casting/</guid>
</item>
<item>
<title>(C#) C# IsDate function - MMDeveloper</title>
<link>http://snipplr.com/view/13638/c-isdate-function/</link>
<description><![CDATA[ <p>Just a small simple method I wrote in C# that's similar to Visual Basic's IsDate() function.. Inputs string date, returns boolean true/false if string is a valid date or not.</p> ]]></description>
<pubDate>Tue, 31 Mar 2009 14:20:46 GMT</pubDate>
<guid>http://snipplr.com/view/13638/c-isdate-function/</guid>
</item>
</channel>
</rss>