Hour 12
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: |
x = 6 + 5 * 4 5 * 4 |
3: | Does this expression evaluate to true or to false? |
A3: |
((true || true) && false) == !true 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 Microsoft® Visual C#™ .NET 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.