<P>This is just a little update to an <A href="http://markpit.com/blog/blog/archive/2004/04/21/160.aspx" target=_blank>earlier post</A> on Outlook and .Net The method signature should be changed to:</P>
public static void Release(params object comObjects)
That way you don’t have to create an array of your COM objects, just list them separated by commas. Like so:
ComUtils.Release(outlookMailItem, outlookNameSpace, outlookApplication);
Hope that helps someone out there!
Update: I went ahead and turned this code into an article.