c# cast string to object code example Example: c# convert ad objectguid to string new Guid((System.Byte[])this.GUID).ToString()