Re: Funny Comparison with Float

Jon Skeet <[email protected]> Thu, 6 Mar 2008 15:22:18 +0000
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <[email protected]>
Rich Armstrong wrote:
> Jon Skeet wrote:
>>> Assuming it's a version number in a normal kind of way, it should really
>>> be a decimal (or a string).
>
> ... or even a System.Version.

Well, that depends on what it's versioning. If you're versioning
something which has nothing to do with .NET, and only needs a major and
minor number, I'm not sure I'd use a version number with 4 parts where
the class describes itself in terms of versioning a CLR assembly.

I'm sure it would work, but it also has disadvantages such as ToString()
including the two unnecessary parts.

Jon

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com