I'm not complaining about having to use NewGuid, just
curious. You do have
a point with the zero-initialised GUID though.
> -----Original Message-----
> From: Discussion of development on the .NET platform
using any managed
> language [mailto OTNET-CL
R DISCUSS.DEVELOP.COM] On Behalf Of Stoyan
> Damov
> Sent: 14 December 2006 01:00 PM
> To: DOTNET-CLR DISCUSS.DEVELOP.COM
> Subject: Re: [DOTNET-CLR] Guid Constructor
>
> Actually, I'm sure if you ask a lot of people, many of
them will think
> that a default ctor should create a zero-initialized
guid
> Guid.NewGuid is easy for reading and certainly not that
much of a
> typing.
>
> On 12/14/06, Brady Kelly <brady chasesoftware.co.za> wrote:
> > Why do I have to use the Guid.NewGuid static
method to create a new,
> random
> > Guid? A default, parameterless constructor seems
an ideal means to do
> this.
> >
> >
> > ===================================
> > This list is hosted by DevelopMentor(r) http://www.develop.com
> >
> > View archives and manage your subscription(s) at
> http://discuss.develop.com
> >
>
>
> --
>
> Cheers,
> Stoyan
>
> ===================================
> This list is hosted by DevelopMentorR http://www.develop.com
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|