Solved

GUID Data Type

Posted on 2008-06-20
4
549 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
More on Time zones in vb 2010 12 37
Memory Usage 2 49
Icons and Colors for Terms 3 24
Export import database 4 39
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

947 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now