SyntaxFix
Write A Post
Hire A Developer
Questions
Will return the Guid if it is valid Guid, else it will return Guid.Empty
if (!Guid.TryParse(yourGuidString, out yourGuid)){ yourGuid= Guid.Empty; }