16,011,374 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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..
Member 10618067
29-Apr-14 16:17pm
View
i am creating a final year college project.i am creating a discussion form..the problem is that in my project one question have many answer..but i am inserting only one answer in a question..how to insert second and third answer in to the same question..plz help me sir.
Show More