Solved

GUID Data Type

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

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:…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

773 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