The Version10
and Version11
static fields of HttpVersion
return System.Version
objects, not HttpVersion
objects. So it's not technically unrelated.
Now as for WHY it does that, I have absolutely no idea. But you'll note that the places where it is used (such as HttpWebRequest.ProtocolVersion
) use System.Version
as well. So that's what you want to be using.
To me, it kind of looks kind of like HttpVersion
should have been a static class as it has no instance members that are not inherited from Object
...