Solved

GUID Data Type

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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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:…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

724 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