<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" 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, 28 Nov 2011 00:37:26 +0000</lastBuildDate><category>C#</category><category>podcast</category><category>namespaces</category><category>first post</category><category>java</category><category>tool boxes</category><category>Stack Overflow</category><category>classes</category><category>methods</category><category>project</category><category>Hello</category><category>Mercury</category><category>Hello World</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><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/HelloC" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="helloc" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><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#">Stack Overflow</category><category domain="http://www.blogger.com/atom/ns#">C#</category><title>Stack Overflow (Awesome)</title><description>I was listening to &lt;a href="http://www.hanselminutes.com/"&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="http://stackoverflow.com/"&gt;Stack Overflow&lt;/a&gt;.  I had never heard of &lt;a href="http://stackoverflow.com/"&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'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't really done this before so I went to MSDN and found the &lt;a href="http://msdn.microsoft.com/en-us/library/system.io.streamreader.aspx"&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="http://stackoverflow.com/"&gt;Stack Overflow&lt;/a&gt; and in 2 minutes had my &lt;a href="http://stackoverflow.com/questions/279114/how-to-use-streamreader-in-c-newbie-question"&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'm new to this.&lt;br /&gt;&lt;br /&gt;Awesome eh?&lt;br /&gt;&lt;br /&gt;Thanks Kent!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3268748197527279703-6363512975044181453?l=hellocsharp.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/HelloC/~4/UQgdEx50r8E" height="1" width="1"/&gt;</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#">Mercury</category><category domain="http://www.blogger.com/atom/ns#">C#</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's a podcast client.&lt;br /&gt;&lt;br /&gt;Something small, fast and unobtrusive.&lt;br /&gt;&lt;br /&gt;I'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'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't have to add music to my collection via the WMP interface...why iTunes can't do this is beyond me.&lt;br /&gt;&lt;br /&gt;I have no idea on how I'm going to accomplish this with C#, but I'm going to try.&lt;br /&gt;&lt;br /&gt;I'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's helpful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3268748197527279703-2239288854743878640?l=hellocsharp.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/HelloC/~4/mszVdK9UF3s" height="1" width="1"/&gt;</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#">java</category><category domain="http://www.blogger.com/atom/ns#">C#</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="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;alot&lt;/span&gt; of Java based apps and we've had performance issues, issues with one version of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&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'm not sure I'm willing to change paths now.  What would be that advantages or disadvantages of doing so?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3268748197527279703-1025006856638092600?l=hellocsharp.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/HelloC/~4/I-xl43dFVYg" height="1" width="1"/&gt;</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="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;Penton's&lt;/span&gt; &lt;a href="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"&gt;"Beginning C# Game Programming"&lt;/a&gt;  tonight and in chapter 4 he covers into the topic of &lt;span style="font-weight: bold;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;namespaces&lt;/span&gt;&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;He uses an interesting metaphor to describe &lt;span style="font-weight: bold;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;namespaces&lt;/span&gt;&lt;/span&gt; that never &lt;a href="http://hellocsharp.blogspot.com/2008/10/namespaces-are-tool-boxes.html"&gt;crossed&lt;/a&gt; my mind: Cities&lt;br /&gt;&lt;br /&gt;I'll paraphrase a bit...&lt;br /&gt;&lt;br /&gt;If you tell someone merely that you live on Main Street that'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="font-weight: bold;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&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="font-weight: bold;"&gt;Direct3D&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;DirectSound&lt;/span&gt; &lt;/span&gt;both contain classes called &lt;span style="font-weight: bold;"&gt;Device&lt;/span&gt;.  It's really the &lt;span style="font-weight: bold;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;namespace&lt;/span&gt;&lt;/span&gt; that differentiates them.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Direct3D.Device&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;DirectSound&lt;/span&gt;.Device&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;While I think this works, it doesn't really resonate with me.&lt;br /&gt;&lt;br /&gt;I'd like to hear what you think.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3268748197527279703-6714138453465790812?l=hellocsharp.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/HelloC/~4/HLIfoLP8kbc" height="1" width="1"/&gt;</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#">methods</category><category domain="http://www.blogger.com/atom/ns#">namespaces</category><category domain="http://www.blogger.com/atom/ns#">tool boxes</category><category domain="http://www.blogger.com/atom/ns#">classes</category><category domain="http://www.blogger.com/atom/ns#">Hello World</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="http://www.devili.iki.fi/Computers/Commodore/C64/Programmers_Reference/front_cover.html" target="_blank"&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="font-weight: bold;"&gt;namespaces&lt;/span&gt; are something every application you write will use. Most will use more than one &lt;span style="font-weight: bold;"&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="http://blogs.msdn.com/photos/a/images/5847747/original.aspx" target="_blank"&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="font-weight: bold;"&gt;namespaces&lt;/span&gt; contain are called &lt;span style="font-weight: bold;"&gt;classes&lt;/span&gt;.  Classes, like actual tools, are manipulated by &lt;span style="font-weight: bold;"&gt;methods.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Like this:&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;toolbox.screwdriver.turn screw&lt;/span&gt;;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&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="font-weight: bold;"&gt;System.Console.WriteLine ("Hello World");&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;System &lt;span style="font-weight: normal;"&gt;is the tool box&lt;/span&gt;, Console &lt;span style="font-weight: normal;"&gt;is the screwdriver&lt;/span&gt; &lt;span style="font-weight: normal;"&gt;(you know, that DOS prompt thing)&lt;/span&gt; &lt;span style="font-weight: normal;"&gt;and&lt;/span&gt; WriteLine &lt;span style="font-weight: normal;"&gt;is the method or action&lt;/span&gt;&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;&lt;span style="font-weight: normal;"&gt;So this bit of code&lt;/span&gt; &lt;span style="font-weight: normal;"&gt;opens the &lt;span style="font-weight: bold;"&gt;System&lt;/span&gt; tool box, pulls out the &lt;span style="font-weight: bold;"&gt;Console&lt;/span&gt; tool and &lt;span style="font-weight: bold;"&gt;Write&lt;/span&gt;s a &lt;span style="font-weight: bold;"&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="font-weight: bold;"&gt;namespaces&lt;/span&gt;, &lt;span style="font-weight: bold;"&gt;classes&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;methods&lt;/span&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;You can also create your own &lt;span style="font-weight: bold;"&gt;namespaces&lt;/span&gt; and fill them with your own &lt;span style="font-weight: bold;"&gt;classes&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;methods&lt;/span&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;We'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="font-weight: bold;"&gt;namespaces&lt;/span&gt;, &lt;span style="font-weight: bold;"&gt;classes &lt;/span&gt;and &lt;span style="font-weight: bold;"&gt;methods&lt;/span&gt;?&lt;/p&gt;&lt;p&gt;-------&lt;/p&gt;&lt;p&gt;I found &lt;a href="http://www.csharphelp.com/archives2/archive432.html"&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="http://www.microsoft.com/DownLoads/details.aspx?familyid=7B645F3A-6D22-4548-A0D8-C2A27E1917F8&amp;amp;displaylang=en"&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;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3268748197527279703-4283806497059232812?l=hellocsharp.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/HelloC/~4/njCf_jPjplA" height="1" width="1"/&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="http://www.learnvisualstudio.net/" target="_blank"&gt;learnvisualstudio.net&lt;/a&gt; as I saw some of the videos they produced on &lt;a href="http://msdn.microsoft.com/en-us/vcsharp/aa336766.aspx" target="_blank"&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'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;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3268748197527279703-3303249185180823248?l=hellocsharp.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/HelloC/~4/MJmAzIX44Xs" height="1" width="1"/&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#">first post</category><category domain="http://www.blogger.com/atom/ns#">Hello</category><category domain="http://www.blogger.com/atom/ns#">C#</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'm starting to help detail my journey into learning C#।&lt;br /&gt;I'm hoping to post my findings and thoughts along with the many questions I'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's been worth your time.&lt;br /&gt;&lt;br /&gt;Warm regards,&lt;br /&gt;&lt;br /&gt;Jim&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3268748197527279703-6612268649985884264?l=hellocsharp.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/HelloC/~4/upgClRrGrd8" height="1" width="1"/&gt;</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>

