Custom Workflow Activity to calculate and return

The following sample workflow activity demonstrates how to return a calculated value from an activity.