Let's say I have the following scenario:
ComObjectClass firstCOMObject = new ComObjectClass();
ComObjectClass secondCOMObject = firstCOMObject;
Of course I have to release the firstCOMObject like this:
Marshal.FinalReleaseCOMObject(firstCOMObject);
But do I need to release secondCOMObject?
Can you verify your answers with MSDN or another article link?
FinalReleaseCOMObject, but rather clear the references you are holding.