Answer to Question #19194 in C# for alsen

Question #19194
Which of the following C# code lines is valid?
byte x = 2.0;
byte x = (2 + 3);
byte x = (byte)(2.0 + 3);
byte x = (byte)(10 - 11);
1
Expert's answer
2012-11-21T09:08:48-0500
byte x = (byte)(10 - 11);

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS