Solved

GUID Data Type

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

18 Experts available now in Live!

Get 1:1 Help Now