QA


Q&A

Q.

Should I always specify parentheses to ensure that operators are evaluated as I expect them to be?

A.

Visual 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 the way you want it to, and might make the expression easier to read by other people. This really is your choice.

Q.

I would like to learn more about the properties and methods available in the DateTime structure; where can I find all the members listed?

A.

I would look at the DateTime members documentation found within the .NET Framework documentation. This is available on the MSDN site and as an installable option when installing Visual C#.




Sams Teach Yourself Microsoft Visual C# 2005 in 24 Hours, Complete Starter Kit
Sams Teach Yourself Visual C# 2005 in 24 Hours, Complete Starter Kit
ISBN: 0672327406
EAN: 2147483647
Year: N/A
Pages: 248
Authors: James Foxall

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net