19

When I used to use VB 6 in my high school MSDN was just fantastic, I never looked anywhere else for help. Then came .NET and online MSDN and whatnot, and there were no longer any practical examples of anything. I slowly started to avoid MSDN and now when I search something on Google I straight away add -msdn in there.

If you take a simple example of ArrayList count there is nothing mentioning that count has to be used like this:

ArrayList tmpArray = new ArrayList();
tmpArray.Add("something");
LabelCount.text = tmpArray.Count;

The way MSDN has it is actually really helpful if you have a basic idea of what member variables are etc. But if you are new to C# in general, you would be completely lost.

PHP documentation is so neat! A simple strlen has a neat depiction of what are the return values, parameters for function etc, plus the comment section has lots of users giving out so many valuable usage example of strlen which I find really amazingly relevant and helpful.

Is there a way to look at things and understand in MSDN? How do you guys refer MSDN?

bad_coder
  • 11,289
  • 20
  • 44
  • 72
iamserious
  • 5,385
  • 12
  • 41
  • 60
  • Granted they don't have the examples up front. Make sure you're looking at the most recent version though (you linked to .NET 1.1). Switch the version to v4, and see the difference. – p.campbell Feb 24 '11 at 19:48
  • I'm using Visual Studio 2010. So I'd guess that its v4 anyway. – iamserious Feb 28 '11 at 13:56

1 Answers1

7

Microsoft's documentation does not have the beauty and simplicity that linux man or info has, but still, it's very comprehensive. You need to know that it's not tutorials in most cases, it's reference documentation, that assumes you already know how to use that function.

vissi
  • 2,325
  • 1
  • 19
  • 26
  • 1
    okay so how or where do I need to check If I need a simple usage tutorial for this? – iamserious Feb 28 '11 at 13:52
  • 1
    Well, probably on the web or in books. Microsoft provides some tutorials and there are simple examples for each function/ – vissi Feb 28 '11 at 14:49
  • 8
    Worst-case SOing? I would argue (and fight to my death bed) that SO questons and answers are my primary "documentation" for simple code sample usages. Besides, the majority of the time there's explanations, critiques, and fixes to code samples. – theGreenCabbage Feb 11 '14 at 16:14