Q&A

Q1:Should I always specify parentheses to ensure that operators are evaluated as I expect them to be?
A1: C# never fails to evaluate expressions according to the order of operator precedence, so using parentheses isn't necessary when the order of precedence is correct for an expression. However, using parentheses assures you that the expression is being evaluated and may make the expression easier to read by other people. This really is your choice.
Q2:I would like to learn more about the properties and methods available in the DateTime structure; where can I find all the members listed?
A2: I would look at the DateTime members documentation found within the .NET Framework documentation. This is available on the MSDN and as an installable ...

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.