I am bit unclear in using IUnknown interface .Is IUnknown interface only meant to work with COM /COM + Objects and some unmanaged codes like Win APIs ?
+2
A:
IUnknown is a COM/COM+ interface. Its not used natively by .NET languages such as C#.
AnthonyWJones
2009-10-11 18:24:44
+3
A:
COM interfaces are used primarily by unmanaged code. If you need the C# you are writing to interoperate with unmanaged code, you can export it as COM interfaces:
IUnknown is generally the base class for COM objects.
Drew Hoskins
2009-10-11 18:25:47
+1. Just one note, you can scratch the "generally", all COM object must implement IUnknown
Binary Worrier
2010-02-09 12:36:18