Click here to Skip to main content
16,011,374 members

Comments by Member 10618067 (Top 6 by date)

Member 10618067 8-May-14 15:34pm View    
{ "_id" : ObjectId("53693f1d9a2e660ec84d7bb7"),
"answer" : [
{
"_id" : ObjectId("000000000000000000000000"),
"answer" : null,
"score" : null
},
{
"_id" : ObjectId("000000000000000000000000"),
"answer" : "Within the Common Language Runtime (CLR), metadata is data that describes the state of the assembly and a detailed description of each type, attribute within the assembly. Metadata includes the following information which is contained in a manifest:\r\nAssembly Metadata: Identity, types, dependent assemblies, and security permissions required for the assembly.\r\nType Metadata: Name, bases, interfaces, visibility and members.\r\nAttributes: Descriptive elements that annotate assemblies, types, and members.",
"score" : "4"
},
{
"_id" : ObjectId("000000000000000000000000"),
"answer" : "Metadata, in the Common Language Infrastructure (CLI), refers to certain data structures embedded within the Common Intermediate Language code that describes the high-level structure of the code. Metadata describes all classes and class members that are defined in the assembly, and the classes and class members that the current assembly will call from another assembly. The metadata for a method contains the complete description of the method, including the class (and the assembly that contains the class), the return type and all of the method parameters.",
"score" : "3"
},
{
"_id" : ObjectId("000000000000000000000000"),
"answer" : "Metadata as source enables you to view metadata that appears as C# source code in a read-only buffer. This enables a view of the declarations of the types and members (without implementations). You can view metadata as source by running the Go To Definition command for types or members whose source code is not available from your project or solution.",
"score" : "3"
},
{
"_id" : ObjectId("000000000000000000000000"),
"answer" : "Metadata is binary information describing your program that is stored either in a common language runtime portable executable (PE) file or in memory. When you compile your code into a PE file, metadata is inserted into one portion of the file, and your code is converted to Microsoft intermediate language (MSIL) and inserted into another portion of the file. Every type and member that is defined and referenced in a module or assembly is described within metadata. When code is executed, the runtime loads metadata into memory and references it to discover information about your code's classes, members, inheritance, and so on.",
"score" : "5"
},
{
"_id" : ObjectId("000000000000000000000000"),
"answer" : "Language interoperability and easier component-based design.\r\nMetadata provides all the information required about compiled code for you to inherit a class from a PE file written in a different language. You can create an instance of any class written in any managed language (any language that targets the common language runtime) without worrying about explicit marshaling or using custom interoperability code.",
"score" : "score"
}
],
"category" : "c#",
"question" : "what is metadata in c#",
"user" : "avant"
}
Member 10618067 8-May-14 15:32pm View    
i am not understanding how to retrieve the subdocument values.i want to print all subdocument values like answer and score which are related to one question..
Member 10618067 7-May-14 17:08pm View    
i have 3 answers of a one question how to retrieve the answer..
Member 10618067 29-Apr-14 16:31pm View    
Deleted
sorry
Member 10618067 29-Apr-14 16:31pm View    
Deleted
how to insert second answer in this question means how to update the answer in this program..sorry sir if i am disturbing of you..