Add new pinvoke example and update the delegate
and anonymous methods example a bit