<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>DotNetKicks.com - Stories tagged with Struct</title>
    <description>the latest stories tagged with 'Struct' from DotNetKicks.com</description>
    <link>http://www.dotnetkicks.com/</link>
    <language>en-us</language>
    <copyright>Atweb Publishing Ltd.</copyright>
    <docs>http://backend.userland.com/rss</docs>
    <generator>DotNetKicks.com - .NET links, community driven</generator>
    <ttl>30</ttl>
    <item>
      <title>Commonality - TypeConverter, Arrays and ASP.NET</title>
      <description>This should've been simple, but it took me a far longer time than I expected to get working correctly. Getting the basic design time work done wasn't too much of a problem; since the property type was an array and not a custom collection, the default editors did the right thing and offered a good design time experience out of the box. However, you still need to provide the designers and ASP.NET a way to store the property contents as an string, so that you can use markup to specify the value of the property. Time to write a TypeConverter! I went ahead and wrote a simple TypeConverter that would take a string and return an array of structs based on its contents, or take an array and return a string based on the values in it. Nothing fancy. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.winterdom.com%2fweblog%2f2008%2f07%2f24%2fTypeConverterArraysAndASPNET.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.winterdom.com%2fweblog%2f2008%2f07%2f24%2fTypeConverterArraysAndASPNET.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/tipsandtricks/Commonality_TypeConverter_Arrays_and_ASP_NET</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/tipsandtricks/Commonality_TypeConverter_Arrays_and_ASP_NET</guid>
      <pubDate>Fri, 25 Jul 2008 18:13:54 GMT</pubDate>
    </item>
    <item>
      <title>Choosing Between Classes and Structs</title>
      <description>A little dry, but gets the basic concept about when to choose a structure over a class, and vice versa. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fgeekswithblogs.net%2fseanfao%2farchive%2f2008%2f01%2f12%2f118492.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fgeekswithblogs.net%2fseanfao%2farchive%2f2008%2f01%2f12%2f118492.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/architecture/Choosing_Between_Classes_and_Structs</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/architecture/Choosing_Between_Classes_and_Structs</guid>
      <pubDate>Sat, 12 Jan 2008 17:00:28 GMT</pubDate>
    </item>
  </channel>
</rss>