create guid from string
Published: 9. October 2011 | Updated: 9. October 2011License: Microsoft Public License (MS-PL)
Categories: Converting, Framework
Tags: C#
string guidAsString = "466b86d1-b57b-48a4-a1de-10ba700923e1"; Guid guid = new Guid(guidAsString); // or Guid guid = Guid.Parse(guidAsString);
| Send us feedback about this snippet » |





