exam questions

Exam 70-487 All Questions

View all questions & answers for the 70-487 exam

Exam 70-487 topic 1 question 32 discussion

Actual exam question from Microsoft's 70-487
Question #: 32
Topic #: 1
[All 70-487 Questions]

DRAG DROP -
You are developing an assembly.
You need to set the current version of the assembly to 4.3.2.1.
How should you complete the code? To answer, drag the appropriate code blocks to the correct locations. Each block may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
To set the version number for the assembly.
[assembly:AssemblyVersionAttribute("4.3.2.1")]
References:
https://msdn.microsoft.com/en-us/library/4w8c1y2s(v=vs.110).aspx

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
anishk
4 years, 2 months ago
// Version information for an assembly consists of the following four values: // Major Version // Minor Version // Build Number // Revision [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] https://docs.microsoft.com/en-us/troubleshoot/visualstudio/general/assembly-version-assembly-file-version
upvoted 2 times
...
ctygehtuk
4 years, 11 months ago
You can use both AssemblyVersionAttribute and AssemblyVersion without "Attribute". In this question only single choice.
upvoted 4 times
...
MaverickCalibre
5 years ago
As per link below it should be [assembly:AssemblyVersionAttribute("4.3.2.1")] https://docs.microsoft.com/en-us/dotnet/standard/assembly/set-attributes?redirectedfrom=MSDN
upvoted 3 times
klassanov
4 years, 4 months ago
"Attribute" can be omitted from an attribute class name when using it.
upvoted 4 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago