It is No, No, Yes
Bytes[] is not a known size, so is NOT stored on the stack
Length is an int, which is a known size, so is NOT stored on the heap
Id is a Guid, which is a known size, which IS stored on the stack
This is correct, a GUID is a struct, so when created it's on the stack. In our case we have a struct, but Bytes[] is a reference type, so its storage is on the heap. Length is an int (value type) so it's storage is on the stack.
This is wrong - ignore.
Please can everybody avoid posting comments with such confidence unless you are 100% sure you are right - you're making the whole learning process a lot more confusing for people who don't know this stuff
upvoted 2 times
...
...
Log in to ExamTopics
Sign in:
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.
cdc
Highly Voted 2 years, 6 months agoHashino
Most Recent 1 year, 10 months agoBoruc
1 year, 7 months agoReDo
1 year, 9 months agoitexamsmicrosoft
9 months, 3 weeks agoitexamsmicrosoft
9 months, 3 weeks agoJamieS
1 month, 2 weeks agomatt11
5 months, 2 weeks ago