guid question

  • Thread starter Thread starter ChrisB
  • Start date Start date
C

ChrisB

Hello:

I notice that if a Guid is declared as follows,

// code sample
public Guid EntityID;

then the following statment evaluates to true even before the guid is
initialized:

// code sample
EntityID.ToString().Length == 36

So how does one determine if a guid has not been intialized and is "empty"?

Thanks,
Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top