What benefit do you get from using a Primary Interop Assembly (PIA? - C#.NET

What benefit do you get from using a Primary Interop Assembly (PIA)?

- A primary interop assembly contains type definitions (as metadata) of types implemented with COM.

- Only a single PIA can exist, which needs to be signed with a strong name by the publisher of the COM type library.

- One PIA can wrap multiple versions of the same type library.

- A COM type library imported as an assembly can be a PIA only if it has been signed and published by the same publisher.

- Therefore, only the publisher of a type library can produce a true PIA, that can be considered as the unit of an official type definition for interoperating with the underlying COM types.
Use of static members with example using C#.NET.
Explain the use of static members with example using C#.NET - Static members are not associated with a particular instance of any class.
How to achieve polymorphism in C#?
How to achieve polymorphism in C#.NET? - Polymorphism is when a class can be used as more than one type through inheritance....
Implementation inheritance and interface inheritance - C#.NET
What are implementation inheritance and interface inheritance? - Implementation inheritance is achieved when a class is derived from another class in such a way that it inherits all its members...
Post your comment