How do you quickly find the URL for a .NET framework method on MSDN?

How to you find the URL that represents the documentation of a .NET framework method on the MSDN website?

For example, I want to embed the URL for the .NET framework method into some comments in some code. The normal "mangled" URL that one gets searching MSDN isn't very friendly looking: http://msdn.microsoft.com/library/xd12z8ts.aspx. Using a Google search URL isn't all that pretty looking either.

What I really want a URL that can be embedded in comments that is plain and easy to read. For example,

// blah blah blah. See http://<....>/System.Byte.ToString for more information

Answers


A lot of the time you can merely append the lowercase namespace reference to the domain:

http://msdn.microsoft.com/en-us/library/system.windows.application_events.aspx

Moreover, for say the .Net 2.0 version (or any specific version) you can add "(VS.80)":

http://msdn.microsoft.com/en-us/library/system.windows.forms.button(VS.80).aspx

Other versions:

  • .Net 1.1 -> (VS.71)
  • .Net 2.0 -> (VS.80)
  • .Net 3.0 -> (VS.85)
  • .Net 3.5 -> (VS.90)

Try it for a method (Control.IsInputChar) like so: http://msdn.microsoft.com/en-us/library/system.windows.forms.control.isinputchar.aspx


Need Your Help

“BUG segmentation fault” while working with private_pub gem

ruby-on-rails ruby-on-rails-3 railscasts faye private-pub

I was trying the code from this screencast http://railscasts.com/episodes/316-private-pub. I grabbed the code from github.