Answers to Hour 13
1: | To get only the remainder of a division operation, you use which operator? |
A1: |
% |
2: | Which operation is performed first in the following expression—the addition or the multiplication? |
A2: | Multiplication |
3: | Does this expression evaluate to true or to false?((true || true) && false) == !true |
A3: | true |
4: | Which Boolean operator performs a logical negation? |
A4: | ! |
5: | The process of appending one string to another is called? |
A5: | Concatenation |
6: | What property can be used to return the month of a given date? |
A6: | Month |
Get Sams Teach Yourself C#™ in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.