Solved

GUID Data Type

Posted on 2008-06-20
4
553 Views
Last Modified: 2013-11-26
Hi Folks

In VB.NET, Is a GUID a Reference or Value datatype? I'm guessing its a reference since it is based on a string.

Am I right???
0
Comment
Question by:Gatsby
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 19

Expert Comment

by:Stephen Manderson
ID: 21832307
Hi there,

msdn has it listed as a data type here
http://msdn.microsoft.com/en-us/library/aa302233.aspx

Regards
Steve
0
 
LVL 2

Expert Comment

by:balochdude
ID: 21832323
reference (i think)
0
 
LVL 3

Accepted Solution

by:
JayeshKitukale earned 250 total points
ID: 21832390
Here is the Guid structure definition from .NET framework
public struct Guid : IFormattable, IComparable, IComparable<Guid>, IEquatable<Guid>
{
  ...
}
"struct" means a value type not a reference type. Every structure in .NET is value type.
0
 

Author Closing Comment

by:Gatsby
ID: 31469194
Thansks!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question