摘要:
Labels are program elements that simply identify a location in a program. Their only practical use is to support the goto statement. The goto statement allows program control tojump to the place where... 阅读全文
posted @ 2010-02-21 17:17
能巴
阅读(171)
评论(0)
推荐(0)
摘要:
C# provides two operators: CHECKED/UNCHECKED to handle whether to treat the overflow/underflow as system error or ignore it. By default, this option is unchecked. As an alternative, you can set this a... 阅读全文
posted @ 2010-02-21 17:13
能巴
阅读(287)
评论(0)
推荐(0)
摘要:
Logical OperatorsLogical operators perform Boolean logic on two expressions. There are three types of logical operators in C#: bitwise, Boolean, and conditional.The bitwise logical operators perform B... 阅读全文
posted @ 2010-02-21 16:56
能巴
阅读(308)
评论(0)
推荐(0)
摘要:
As we know, for main, it's so common to see it looks like below:int main(){// do your work.return 0;}At least for a console application, the returned value 0 here can be consumed later in script tool ... 阅读全文
posted @ 2010-02-21 16:16
能巴
阅读(218)
评论(0)
推荐(0)
摘要:
The tradeoff between decimal and double is precision versus range. The decimal is the best choice when precision is required, but choose a double for the greatest range. The decimaltype is well suited... 阅读全文
posted @ 2010-02-21 15:45
能巴
阅读(236)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2010-02-21 15:36
能巴
阅读(224)
评论(0)
推荐(0)
摘要:
there are three types of commenting syntax in C#:multiline, single line, and XML.XML Documentation CommentsIn addition to providing code commenting, an XML documentation comment supports tools that ex... 阅读全文
posted @ 2010-02-21 15:15
能巴
阅读(422)
评论(0)
推荐(0)
摘要:
On the Debug menu, there are two options to run a program, Start Debugging (F5) and Start Without Debugging (Ctrl+F5). The differences between these two options are thatStart Debugging stops on breakp... 阅读全文
posted @ 2010-02-21 14:58
能巴
阅读(184)
评论(0)
推荐(0)
摘要:
1. Place your cursor, by a single click, immediately after the closing curly brace of theMain method. This highlights the beginning and closing braces.2. Press Ctrl+Enter. This inserts a new line betw... 阅读全文
posted @ 2010-02-21 14:40
能巴
阅读(219)
评论(0)
推荐(0)

浙公网安备 33010602011771号