I am having a problem generating a GUID for a string - for example:
Guid g = New Guid(\"Mehar\");
How can I compute a GUID for \"Meha
\"Meha
You cannot use GUID that way. The constructor of Guid expects a valid, string representation of a Guid.
What you're looking for is called a Hash function. (for example: MD5)