<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-3268748197527279703</atom:id><lastBuildDate>Mon, 02 Sep 2024 02:00:20 +0000</lastBuildDate><category>C#</category><category>namespaces</category><category>Hello</category><category>Hello World</category><category>Mercury</category><category>Stack Overflow</category><category>classes</category><category>first post</category><category>java</category><category>methods</category><category>podcast</category><category>project</category><category>tool boxes</category><title>Hello C#!</title><description>Learning and Exploring C#</description><link>http://hellocsharp.blogspot.com/</link><managingEditor>noreply@blogger.com (Jim)</managingEditor><generator>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3268748197527279703.post-6363512975044181453</guid><pubDate>Mon, 10 Nov 2008 21:01:00 +0000</pubDate><atom:updated>2008-11-11T17:03:05.721-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">Stack Overflow</category><title>Stack Overflow (Awesome)</title><description>I was listening to &lt;a href=&quot;http://www.hanselminutes.com/&quot;&gt;Hanselminutes&lt;/a&gt; the other day on the way home from work and Scott was talking to the guys behind &lt;a href=&quot;http://stackoverflow.com/&quot;&gt;Stack Overflow&lt;/a&gt;.  I had never heard of &lt;a href=&quot;http://stackoverflow.com/&quot;&gt;Stack Overflow&lt;/a&gt; at that point but found the discussion really interesting.  Essentially, Stack Overflow is a collaborative question and answer site for programmers.    I headed over there and browsed around and found it fascinating.  So I signed up (It&#39;s free, just create use your OpenID to sign in).&lt;br /&gt;&lt;br /&gt;Well today, I really got to put it to the test.  I worked up something in C# that I plan on using at the office.  I created the UI form, got the easy stuff working in about an hour and then decided to move on to the real meat of the applciation.  The first thing a need to do is read a list of names from text file.  I haven&#39;t really done this before so I went to MSDN and found the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.io.streamreader.aspx&quot;&gt;StreamReader&lt;/a&gt; was what I needed to call on.  So I did that and got a big fat error...&lt;br /&gt;&lt;br /&gt;So, I checked my syntax and just started at the screen for a while feeling defeated by my lack of skillz.&lt;br /&gt;&lt;br /&gt;Then the lightbulb went off and I posted my problem to &lt;a href=&quot;http://stackoverflow.com/&quot;&gt;Stack Overflow&lt;/a&gt; and in 2 minutes had my &lt;a href=&quot;http://stackoverflow.com/questions/279114/how-to-use-streamreader-in-c-newbie-question&quot;&gt;answer&lt;/a&gt;...2 MINUTES PEOPLE!!&lt;br /&gt;&lt;br /&gt;Turns out it was pretty silly mistake on my part, buy hey, I&#39;m new to this.&lt;br /&gt;&lt;br /&gt;Awesome eh?&lt;br /&gt;&lt;br /&gt;Thanks Kent!</description><link>http://hellocsharp.blogspot.com/2008/11/stack-overflow-awesome.html</link><author>noreply@blogger.com (Jim)</author><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3268748197527279703.post-2239288854743878640</guid><pubDate>Wed, 22 Oct 2008 20:15:00 +0000</pubDate><atom:updated>2008-10-22T16:14:59.514-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">Mercury</category><category domain="http://www.blogger.com/atom/ns#">podcast</category><category domain="http://www.blogger.com/atom/ns#">project</category><title>Project: Mercury - 1</title><description>Project Mercury (first planet, first project...works for me)&lt;br /&gt;&lt;br /&gt;Simply put, it&#39;s a podcast client.&lt;br /&gt;&lt;br /&gt;Something small, fast and unobtrusive.&lt;br /&gt;&lt;br /&gt;I&#39;ve tried a lot of podcast clients and they all felt strange or not quite right for one reason or another.&lt;br /&gt;&lt;br /&gt;Just to get it out in the open, no I&#39;m not using iTunes.  I use Windows Media Player to manage my audio files.  Primary reason being it can watch folders for changes and I don&#39;t have to add music to my collection via the WMP interface...why iTunes can&#39;t do this is beyond me.&lt;br /&gt;&lt;br /&gt;I have no idea on how I&#39;m going to accomplish this with C#, but I&#39;m going to try.&lt;br /&gt;&lt;br /&gt;I&#39;ll post my thoughts on what I think this app should be like soon, but until them maybe you can tell me what you think would be good to have in a podcast client.&lt;br /&gt;&lt;br /&gt;I got a lot of great feedback on my post about learning C# or Java.  I really appreciate everyone taking the time to post comments.  It&#39;s helpful.</description><link>http://hellocsharp.blogspot.com/2008/10/project-mercury-1.html</link><author>noreply@blogger.com (Jim)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3268748197527279703.post-1025006856638092600</guid><pubDate>Mon, 20 Oct 2008 12:37:00 +0000</pubDate><atom:updated>2008-10-20T11:19:13.207-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">java</category><title>C# or Java?</title><description>In reply to my earlier post asking others how they learned C#,  I received a message from a reader who thought that it would be wise for me to learn Java first.&lt;br /&gt;&lt;br /&gt;I have to admit, I never really thought about learning Java.  Most if my Java experiences have been as an end user and quite frankly been pretty awful.  My current employer uses &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_0&quot;&gt;alot&lt;/span&gt; of Java based apps and we&#39;ve had performance issues, issues with one version of &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_1&quot;&gt;JRE&lt;/span&gt; working with certain apps and another not working with others, bizarre cross platform incompatibilities and oddities etc...&lt;br /&gt;&lt;br /&gt;From what I understand, syntactically C# and Java are very similar and skills and methods learned in one may easily translate to another.&lt;br /&gt;&lt;br /&gt;I&#39;m not sure I&#39;m willing to change paths now.  What would be that advantages or disadvantages of doing so?</description><link>http://hellocsharp.blogspot.com/2008/10/c-or-java.html</link><author>noreply@blogger.com (Jim)</author><thr:total>4</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3268748197527279703.post-6714138453465790812</guid><pubDate>Sun, 05 Oct 2008 02:05:00 +0000</pubDate><atom:updated>2008-10-04T22:22:13.105-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">namespaces</category><title>Namespaces are cities</title><description>I was paging through Ron &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_0&quot;&gt;Penton&#39;s&lt;/span&gt; &lt;a href=&quot;http://www.amazon.com/Beginning-C-Game-Programming-Development/dp/1592005179/ref=sr_1_1?ie=UTF8&amp;amp;s=books&amp;amp;qid=1223172377&amp;amp;sr=1-1&quot;&gt;&quot;Beginning C# Game Programming&quot;&lt;/a&gt;  tonight and in chapter 4 he covers into the topic of &lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_1&quot;&gt;namespaces&lt;/span&gt;&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;He uses an interesting metaphor to describe &lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_2&quot;&gt;namespaces&lt;/span&gt;&lt;/span&gt; that never &lt;a href=&quot;http://hellocsharp.blogspot.com/2008/10/namespaces-are-tool-boxes.html&quot;&gt;crossed&lt;/a&gt; my mind: Cities&lt;br /&gt;&lt;br /&gt;I&#39;ll paraphrase a bit...&lt;br /&gt;&lt;br /&gt;If you tell someone merely that you live on Main Street that&#39;s not really telling them very much information.  You need to tell them the name of the city too.  Think of the &lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_3&quot;&gt;namespace&lt;/span&gt;&lt;/span&gt; as the name of the city and the class as the street.   He goes on to explain that &lt;span style=&quot;font-weight: bold;&quot;&gt;Direct3D&lt;/span&gt; and &lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_4&quot;&gt;DirectSound&lt;/span&gt; &lt;/span&gt;both contain classes called &lt;span style=&quot;font-weight: bold;&quot;&gt;Device&lt;/span&gt;.  It&#39;s really the &lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_5&quot;&gt;namespace&lt;/span&gt;&lt;/span&gt; that differentiates them.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Direct3D.Device&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_6&quot;&gt;DirectSound&lt;/span&gt;.Device&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;While I think this works, it doesn&#39;t really resonate with me.&lt;br /&gt;&lt;br /&gt;I&#39;d like to hear what you think.</description><link>http://hellocsharp.blogspot.com/2008/10/namespace-are-cities.html</link><author>noreply@blogger.com (Jim)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3268748197527279703.post-4283806497059232812</guid><pubDate>Thu, 02 Oct 2008 02:10:00 +0000</pubDate><atom:updated>2008-10-02T15:28:01.697-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">classes</category><category domain="http://www.blogger.com/atom/ns#">Hello World</category><category domain="http://www.blogger.com/atom/ns#">methods</category><category domain="http://www.blogger.com/atom/ns#">namespaces</category><category domain="http://www.blogger.com/atom/ns#">tool boxes</category><title>Namespaces are tool boxes</title><description>&lt;p&gt;So, I was trying to think of things that I really just didn’t “get” when I recently started learning C# and &lt;strong&gt;namespaces, classes&lt;/strong&gt; and &lt;strong&gt;methods &lt;/strong&gt;came to mind.&lt;/p&gt;  &lt;p&gt;I’ve been using computers all of my life but my programming days ended after my Commodore 64 power supply bit the dust.  I have very fond memories of reading &lt;a href=&quot;http://www.devili.iki.fi/Computers/Commodore/C64/Programmers_Reference/front_cover.html&quot; target=&quot;_blank&quot;&gt;this&lt;/a&gt; book late into the evening when I was a kid.  Peek or poke anyone?&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Now, I’ve done a lot of scripting over the years both on *NIX and Windows but this C# stuff felt really new to me and kinda alien at first. &lt;/p&gt;  &lt;p&gt;One of the first things that I got hung up on is the concept of &lt;strong&gt;namespaces.   &lt;/strong&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;namespaces&lt;/span&gt; are something every application you write will use. Most will use more than one &lt;span style=&quot;font-weight: bold;&quot;&gt;namespace&lt;/span&gt;.  I like to think of them as tool boxes. Perhaps you can come up with a better metaphor, but I can’t.  So, they are tool boxes for now.  &lt;/p&gt;  &lt;p&gt;Now an empty tool box isn’t much of a toolbox, so you need to fill it. &lt;/p&gt;  &lt;p&gt;Microsoft gives you a lot of full tool boxes to get started with in the .NET Framework.  In fact, you can see them all in &lt;a href=&quot;http://blogs.msdn.com/photos/a/images/5847747/original.aspx&quot; target=&quot;_blank&quot;&gt;this&lt;/a&gt; cool poster.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Now, tool boxes need tools.  The tools that &lt;span style=&quot;font-weight: bold;&quot;&gt;namespaces&lt;/span&gt; contain are called &lt;span style=&quot;font-weight: bold;&quot;&gt;classes&lt;/span&gt;.  Classes, like actual tools, are manipulated by &lt;span style=&quot;font-weight: bold;&quot;&gt;methods.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Like this:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;toolbox.screwdriver.turn screw&lt;/span&gt;;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;namespace name.class name.method name;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;and the real code would look like this:&lt;/p&gt;&lt;p style=&quot;font-weight: bold;&quot;&gt;System.Console.WriteLine (&quot;Hello World&quot;);&lt;/p&gt;&lt;p style=&quot;font-weight: bold;&quot;&gt;System &lt;span style=&quot;font-weight: normal;&quot;&gt;is the tool box&lt;/span&gt;, Console &lt;span style=&quot;font-weight: normal;&quot;&gt;is the screwdriver&lt;/span&gt; &lt;span style=&quot;font-weight: normal;&quot;&gt;(you know, that DOS prompt thing)&lt;/span&gt; &lt;span style=&quot;font-weight: normal;&quot;&gt;and&lt;/span&gt; WriteLine &lt;span style=&quot;font-weight: normal;&quot;&gt;is the method or action&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;So this bit of code&lt;/span&gt; &lt;span style=&quot;font-weight: normal;&quot;&gt;opens the &lt;span style=&quot;font-weight: bold;&quot;&gt;System&lt;/span&gt; tool box, pulls out the &lt;span style=&quot;font-weight: bold;&quot;&gt;Console&lt;/span&gt; tool and &lt;span style=&quot;font-weight: bold;&quot;&gt;Write&lt;/span&gt;s a &lt;span style=&quot;font-weight: bold;&quot;&gt;Line&lt;/span&gt; (Hello World!)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;This may seem over simplified to some of you, but it really helped me understand &lt;span style=&quot;font-weight: bold;&quot;&gt;namespaces&lt;/span&gt;, &lt;span style=&quot;font-weight: bold;&quot;&gt;classes&lt;/span&gt; and &lt;span style=&quot;font-weight: bold;&quot;&gt;methods&lt;/span&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;You can also create your own &lt;span style=&quot;font-weight: bold;&quot;&gt;namespaces&lt;/span&gt; and fill them with your own &lt;span style=&quot;font-weight: bold;&quot;&gt;classes&lt;/span&gt; and &lt;span style=&quot;font-weight: bold;&quot;&gt;methods&lt;/span&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;We&#39;ll save that for another post.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Am I way off the mark here?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;How would you describe &lt;span style=&quot;font-weight: bold;&quot;&gt;namespaces&lt;/span&gt;, &lt;span style=&quot;font-weight: bold;&quot;&gt;classes &lt;/span&gt;and &lt;span style=&quot;font-weight: bold;&quot;&gt;methods&lt;/span&gt;?&lt;/p&gt;&lt;p&gt;-------&lt;/p&gt;&lt;p&gt;I found &lt;a href=&quot;http://www.csharphelp.com/archives2/archive432.html&quot;&gt;this&lt;/a&gt; article helpful.&lt;/p&gt;&lt;p&gt;You can find a high res version on the .NET Framework poster &lt;a href=&quot;http://www.microsoft.com/DownLoads/details.aspx?familyid=7B645F3A-6D22-4548-A0D8-C2A27E1917F8&amp;amp;displaylang=en&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description><link>http://hellocsharp.blogspot.com/2008/10/namespaces-are-tool-boxes.html</link><author>noreply@blogger.com (Jim)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3268748197527279703.post-3303249185180823248</guid><pubDate>Wed, 01 Oct 2008 18:26:00 +0000</pubDate><atom:updated>2008-10-01T23:05:33.850-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C#</category><title>How did you learn C#?</title><description>&lt;p&gt;I thought it would be appropriate for my second post to ask my readers “How did you learn C#?”&lt;/p&gt;  &lt;p&gt;I’m taking a few approaches.  I bought a subscription to &lt;a href=&quot;http://www.learnvisualstudio.net/&quot; target=&quot;_blank&quot;&gt;learnvisualstudio.net&lt;/a&gt; as I saw some of the videos they produced on &lt;a href=&quot;http://msdn.microsoft.com/en-us/vcsharp/aa336766.aspx&quot; target=&quot;_blank&quot;&gt;MSDN&lt;/a&gt; and thought they were really helpful.&lt;/p&gt;  &lt;p&gt;I’m also one of those people that really doesn&#39;t learn how to do something until I really need to do it.  In other words, I need a problem to solve first and foremost.  &lt;/p&gt;  &lt;p&gt;I have a problem and I’m working on a C# solution. I plan to talk about that more in an upcoming post. &lt;/p&gt;  &lt;p&gt;I’ve looked at few books, but I’m not sure a book is the right way to go for me. &lt;/p&gt;  &lt;p&gt;MSDN seems chock full of great stuff albeit sometimes hard to find.&lt;/p&gt;  &lt;p&gt;In the meantime, how did you learn C#?  I’m really curious to know. &lt;/p&gt;  &lt;p&gt;Hopefully, the conversation I’m starting (this blog) will be another avenue for learning C#.&lt;/p&gt;  &lt;p&gt;Thanks for reading!&lt;/p&gt;</description><link>http://hellocsharp.blogspot.com/2008/10/how-did-you-learn-c.html</link><author>noreply@blogger.com (Jim)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3268748197527279703.post-6612268649985884264</guid><pubDate>Wed, 01 Oct 2008 17:09:00 +0000</pubDate><atom:updated>2008-10-01T13:54:32.794-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">first post</category><category domain="http://www.blogger.com/atom/ns#">Hello</category><title>Hello C#</title><description>Hello C#!&lt;br /&gt;&lt;br /&gt;What is Hello C#? &lt;br /&gt;&lt;br /&gt;Hello C# is a blog that I&#39;m starting to help detail my journey into learning C#।&lt;br /&gt;I&#39;m hoping to post my findings and thoughts along with the many questions I&#39;m sure to have.&lt;br /&gt;&lt;br /&gt;Hopefully, this will develop into a friendly meeting place for folks who want to learn C# and for those C# experts who want to help others.&lt;br /&gt;&lt;br /&gt;Thank you very much for stopping by.  Hopefully it&#39;s been worth your time.&lt;br /&gt;&lt;br /&gt;Warm regards,&lt;br /&gt;&lt;br /&gt;Jim</description><link>http://hellocsharp.blogspot.com/2008/10/hello-c.html</link><author>noreply@blogger.com (Jim)</author><thr:total>1</thr:total></item></channel></rss>