Tommy said:
During an interview, I was asked with question 'how do you add
information to a .NET assembly as metadata' I really have no idea
until now, could someone please help? thanks in advance
The question is very broad, and requires a broad answer
1) Add a type to the assembly. Information about the type is added to
the metadata tables in the assembly.
2) Use a type in another assembly. There is a metadata table that
describes the types that you use in other assemblies.
3) Add an attribute. Some attributes add *custom* metadata to the
assembly (ie your own metadata that only you know about), others change
existing types of metadata.
Personally, I think the question was poorly written by someone who
didn't know much about .NET and if I was asked it in an interview I
would say so <g>.
Richard