As a .NET developer, I often find myself on the MSDN website. This is a great site with a ton of resources, not least of which is the documentation for the .NET framework.
However I notice that when I Google for something I often find myself trying to avoid links to MSDN, instead looking further down the list hoping for a Stack Overflow result. I think this is because it takes me a long time to drill through all of the information to find what I need.
For example, I was looking for some information on LINQ to XML. I have never done anything with LINQ to XML, so I was looking for a couple of samples to get me going. Since I’m pretty familiar with LINQ in general, all I really need are a couple of good code samples to get me started.
Can I Have Teh Codez Plez?
Seriously, I’m a developer – I don’t actually like reading regular people words that much, show me the code.
After being linked to the LINQ to XML page on MSDN from this great SO question, here’s what it took to see some code:
- Clicked on “Samples (LINQ to XML)”.
- Clicked on “Introduction to LINQ to XML Sample” (since this was the c# sample).
- Came to a page with a bunch of words, none of them being actual code. This page rambles on and on about some samples and how to install them.
- There is a link that looks promising, I click it. Still no code. Again, it’s talking about some sample library that you can download and install. I’m looking for about 10 lines of code here…
- Go to google.com.
- Enter “LINQ to XML sample” and search.
- Click on the first result.
Don’t get me wrong, MSDN is an invaluable resource for .NET developers, just seems a little hard to find what I’m looking for at times.
I'm a software developer who works primarily with .NET and C# - but I love exploring new languages and technologies. I'm passionate about creating software and learning how to do it better.