Last active
March 20, 2019 12:18
-
-
Save EifelMono/2d52d5bdad2fd0298b9fc61d17e07e02 to your computer and use it in GitHub Desktop.
Sample for Guid and the Length of the Guid
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
var guid= Guid.NewGuid(); | |
Console.WriteLine($"Guid={guid}"); | |
Console.WriteLine($"Length={guid.ToString().Length}"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.