string to guid c#

C#
Guid newGuid = Guid.Parse(stringGuid);
Source

Also in C#: