Tuesday, 18 March 2008

Converting string into GUID in C#

Some thing as easy as this may make you blink for a while on a busy day.

string strGuid;
strGuid = "your existing guid in string format";
Guid guid = new Guid(strGuid);