<?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>FruitBatInShades Code &#187; c#</title>
	<atom:link href="http://www.fruitbatscode.com/category/net/c/feed" rel="self" type="application/rss+xml" />
	<link>http://www.fruitbatscode.com</link>
	<description>Where the fruitbat keeps his notes</description>
	<lastBuildDate>Thu, 13 May 2010 08:29:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Working with vague dates (90&#8242;s, Sept 2000 etc.)</title>
		<link>http://www.fruitbatscode.com/net/c/working-with-vague-dates-90s-sept-2000-etc</link>
		<comments>http://www.fruitbatscode.com/net/c/working-with-vague-dates-90s-sept-2000-etc#comments</comments>
		<pubDate>Wed, 16 Dec 2009 09:13:01 +0000</pubDate>
		<dc:creator>fbis</dc:creator>
				<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://www.fruitbatscode.com/?p=363</guid>
		<description><![CDATA[On a recent project I had to allow users to upload their memories. Memories are vague things and I had to enable users to upload and assign incomplete dates. They needed to be able to enter &#8216;The 90&#8242;s&#8217; or &#8216;September 2000&#8242; as well as complete dates &#8217;1st Feb 2009&#8242;. I could have separated all components [...]]]></description>
		<wfw:commentRss>http://www.fruitbatscode.com/net/c/working-with-vague-dates-90s-sept-2000-etc/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Rendered Html From a Control</title>
		<link>http://www.fruitbatscode.com/net/c/get-rendered-html-from-a-control</link>
		<comments>http://www.fruitbatscode.com/net/c/get-rendered-html-from-a-control#comments</comments>
		<pubDate>Mon, 16 Nov 2009 12:32:53 +0000</pubDate>
		<dc:creator>fbis</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[My Stuff]]></category>

		<guid isPermaLink="false">http://www.fruitbatscode.com/?p=352</guid>
		<description><![CDATA[Whilst working on the CMS I needed to be able to pass back the html a control will render when the user first adds it. The control doesn&#8217;t exist on the page yet as the sections are added via javascript. It was very easy to pass in StringWriter to the render function to get the [...]]]></description>
		<wfw:commentRss>http://www.fruitbatscode.com/net/c/get-rendered-html-from-a-control/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CMS Framework &#8211; Update</title>
		<link>http://www.fruitbatscode.com/net/cms-framework-update</link>
		<comments>http://www.fruitbatscode.com/net/cms-framework-update#comments</comments>
		<pubDate>Sun, 16 Aug 2009 15:48:16 +0000</pubDate>
		<dc:creator>fbis</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[My Stuff]]></category>

		<guid isPermaLink="false">http://www.fruitbatscode.com/?p=304</guid>
		<description><![CDATA[Been a bit quiet round here lately but not because I&#8217;ve not been working on it I&#8217;ve been using it for a project at work and converting a lot of my stuff to be compatible with it.  It&#8217;s running  a site atm and doing well. Alpha State Mainly in alpha because things may yet change [...]]]></description>
		<wfw:commentRss>http://www.fruitbatscode.com/net/cms-framework-update/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple way to create a singleton</title>
		<link>http://www.fruitbatscode.com/net/simple-way-to-create-a-singleton</link>
		<comments>http://www.fruitbatscode.com/net/simple-way-to-create-a-singleton#comments</comments>
		<pubDate>Tue, 28 Apr 2009 21:26:48 +0000</pubDate>
		<dc:creator>fbis</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://www.fruitbatscode.com/?p=237</guid>
		<description><![CDATA[Found this is microsoft official line on creating a singleton, much simpler than the normal GOF way // .NET Singleton sealed class Singleton { private Singleton() {} public static readonly Singleton Instance = new Singleton(); }]]></description>
		<wfw:commentRss>http://www.fruitbatscode.com/net/simple-way-to-create-a-singleton/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create controls dynamically from database</title>
		<link>http://www.fruitbatscode.com/net/create-controls-dynamically-from-database</link>
		<comments>http://www.fruitbatscode.com/net/create-controls-dynamically-from-database#comments</comments>
		<pubDate>Wed, 11 Feb 2009 20:53:17 +0000</pubDate>
		<dc:creator>fbis</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[My Stuff]]></category>

		<guid isPermaLink="false">http://www.fruitbatscode.com/?p=152</guid>
		<description><![CDATA[In my cms&#8217; I usually have the option of creating controls from the database. This is just a simple use for reflection but allows me to add controls to page just by adding a new row.  If its one of my controls it supports a persistance system that allows the control to save and restore [...]]]></description>
		<wfw:commentRss>http://www.fruitbatscode.com/net/create-controls-dynamically-from-database/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rendering Paths as a nested List</title>
		<link>http://www.fruitbatscode.com/net/c/rendering-paths-as-a-nested-list</link>
		<comments>http://www.fruitbatscode.com/net/c/rendering-paths-as-a-nested-list#comments</comments>
		<pubDate>Wed, 04 Feb 2009 14:32:37 +0000</pubDate>
		<dc:creator>fbis</dc:creator>
				<category><![CDATA[c#]]></category>
		<category><![CDATA[My Stuff]]></category>

		<guid isPermaLink="false">http://www.fruitbatscode.com/?p=145</guid>
		<description><![CDATA[Keeping tree data in a database can be a nightmare. There are a number of techniques to achieve it but they are all either unwieldy on the sql side (multiple joins) or on the data side (binary trees). I needed an easy way to render a tree out in a single read from the db. I achieved [...]]]></description>
		<wfw:commentRss>http://www.fruitbatscode.com/net/c/rendering-paths-as-a-nested-list/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using static properties as class wide data</title>
		<link>http://www.fruitbatscode.com/net/c/using-static-properties-as-class-wide-data</link>
		<comments>http://www.fruitbatscode.com/net/c/using-static-properties-as-class-wide-data#comments</comments>
		<pubDate>Tue, 03 Feb 2009 19:39:26 +0000</pubDate>
		<dc:creator>fbis</dc:creator>
				<category><![CDATA[Theory]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[My Stuff]]></category>

		<guid isPermaLink="false">http://www.fruitbatscode.com/?p=142</guid>
		<description><![CDATA[This is one of those things that is so obvious I wonder why it never occured to me before!  If you declare a member as static the compiler only creates one member instance across all class instances. class ClassWideStatic &#123; protected static int NoOfInstances; public ClassWideStatic&#40;&#41; &#123; //setting NoOfInstances here will set it on ALL [...]]]></description>
		<wfw:commentRss>http://www.fruitbatscode.com/net/c/using-static-properties-as-class-wide-data/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Classes &#8211; Constructors &amp; Chaining</title>
		<link>http://www.fruitbatscode.com/net/c/classes-constructors-chaining</link>
		<comments>http://www.fruitbatscode.com/net/c/classes-constructors-chaining#comments</comments>
		<pubDate>Sun, 01 Feb 2009 12:48:25 +0000</pubDate>
		<dc:creator>fbis</dc:creator>
				<category><![CDATA[Theory]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[My Stuff]]></category>

		<guid isPermaLink="false">http://www.fruitbatscode.com/?p=124</guid>
		<description><![CDATA[When we create a class we get given a default blank constructor which is provided by the framework. Its equivalent to public ClassName&#40;&#41; &#123;&#125; We can create constructors with different parameters: public ClassName&#40;int One&#41; &#123; this.One = One; &#125; public ClassName&#40;int One, string Two&#41; &#123; this.One = One; this.Two = Two; &#125; Keep in mind [...]]]></description>
		<wfw:commentRss>http://www.fruitbatscode.com/net/c/classes-constructors-chaining/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flagged Enums</title>
		<link>http://www.fruitbatscode.com/net/flagged-enums</link>
		<comments>http://www.fruitbatscode.com/net/flagged-enums#comments</comments>
		<pubDate>Tue, 27 Jan 2009 17:19:41 +0000</pubDate>
		<dc:creator>fbis</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://www.fruitbatscode.com/?p=37</guid>
		<description><![CDATA[Defining the Flags: To start of with, declare an enum to list all the possible flags. Two things are important when declaring the enum. The first thing you will probably notice is the [Flags] attribute. This is necessary in order to indicate that the enumeration should be treated as a set of flags. The second [...]]]></description>
		<wfw:commentRss>http://www.fruitbatscode.com/net/flagged-enums/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Type.GetType and referred assemblies</title>
		<link>http://www.fruitbatscode.com/net/typegettype-and-referred-assemblies</link>
		<comments>http://www.fruitbatscode.com/net/typegettype-and-referred-assemblies#comments</comments>
		<pubDate>Tue, 27 Jan 2009 17:16:29 +0000</pubDate>
		<dc:creator>fbis</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://www.fruitbatscode.com/?p=33</guid>
		<description><![CDATA[There is a DLL called CommonAssembly. This contains a namespace called CommonNamespace. This namespace contains a class called CommonClass. Another project adds a reference to CommonAssembly and wants to get the type of CommonClass using the method Type.GetType. Additional Information: // This statement won’t work. Type.GetType&#40;”CommonClass”&#41;; &#160; // This will not work either Type.GetType&#40;”CommonNamespace.CommonClass”&#41;; Since [...]]]></description>
		<wfw:commentRss>http://www.fruitbatscode.com/net/typegettype-and-referred-assemblies/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
