csharp guid from string

Code Example - csharp guid from string

                
                        new Guid(string)
                    
                
 

how to convert string to guid csharp

                        
                                // string naar guid
Guid newGuid = Guid.Parse("9940548e-dadc-405f-83f9-57431685cf5d")