Quick Tip – Change those GUIDs!

Do you like to copy/paste code from this blog, http://thebuildingcoder.typepad.com, http://spiderinnet.typepad.com/ or wherever? Don’t we all?

But remember, when you do this it is a good idea to change any GUIDs because you never know who else is copying that code and what collisions might result from GUID duplication.

For example:


 DockablePaneId dpid = new DockablePaneId(
      new Guid( "{D7C963CE-B7CA-426A-8D51-6E8254D21157}" ) );