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 option when installing Visual Studio .NET.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.19.174