I googled several sites to understand what metadata
is in .NET and it means.
I'm still new to C# WPF desktop application programming. Back when I was web programming, there are meta tag in HTML code where we describe the site with titles, keywords and such. Is also similar in .NET application? I read wiki, and googled but all I get is conceptional explanation.
One describes "metadata is data that describes the state of the assembly and a detailed description of each type, attribute within the assembly"
. Is metadata just a concept or something physical like line of codes I typed in somewhere to describe my code? If so, do my commend becomes my metadata?
I read metadata is "Within the Common Language Runtime (CLR)"
, but I code only in C#, how can I code in CLR into the metadata? Is metadata a commend in CLR? How Can I change it.
MSDN wrote that metadata is binary information for software component of another language to understand it. I though only human needs description (commend) in English to understand what a block of code does. Software component simply executes whatever statement we wrote - what's is the need of the "binary" information. How can the compiler understand the meaning of my high level code to generate "Description of assembly"? If I write a program that convert currency, would the metadata auto-generated knowing the program is converting currency? Where is this intelligence?
I am completely confused.
question from:
https://stackoverflow.com/questions/8861065/what-is-metadata-in-net 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…