<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Consider replacing strings with Enums in resource references.</title><link>http://blogs.msdn.com/dustin_andrews/archive/2008/11/21/consider-replacing-strings-with-enums-in-resource-references.aspx</link><description>Consider replacing strings with Enums in resource references. I see code like this all the time in test and XNA and I really dislike it. MyCustomResourceClass resources = new MyCustomResourceClass(); MyImageClass currentImage = resources[ "Image 1.jpg"</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator></channel></rss>