.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Sandeep Singh

Home >> Articles >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Generate New GUID Using Visual Studio

Posted By:Kaviya Balasubramanian       Posted Date: November 13, 2015    Points: 200    Category: SharePoint    URL: http://www.dotnetspark.com  

In this article I will share the steps for generating new GUID using Visual Studi

What is GUID (Globally Unique Identifier)

  • GUID is a unique identifier, you can use this for identifying the particular component.

  • GUIDs are usually stored as 128-bit values, and are commonly displayed as 32 hexadecimal digits with groups separated by hyphens, such as {DA1FFC57-62EE-4019-9BAE-D5670339CD1C}.

  • GUIDs generated from random numbers that normally contains 6 fixed bits (these indicate that the GUID is random) and 122 random bits; the total number of unique such GUIDs is 2122 (approximately 5.3×1036).

Steps to generate GUID

Here are the steps to generate the new GUID.

Step 1: Open Visual Studio in your machine:

Visual Studio in your machine

Step 2: Click on the TOOLS from Menu as in the following screenshot:

click on the tools

Step 3: On the TOOLS panel choose Create GUID for generating new GUID.

create GUID for generate new GUID

Step 4: Once you click Create GUID you will get the pop up as in the following screenshot:

Create GUID

Step 5: By clicking Copy on the pop up you can copy the GUID. If you want to generate one more, then click on the New GUID button as in the following screenshot:

Finally New GUID will be generated successfully.


In this article we have explored how to create new GUID using Visual Studio.
Happy Learning!

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend