Does C# provide any unique identifier function?
Does C# provide any function which will create and return unique identifier?
Thanks,
The System.Guid class in the framework provides a NewGuid() method that will generate a unique identifier for you:
System.Guid myUniqueIdentifier = System.Guid.NewGuid(); |
Best regards,
Johan Stenberg