30. A method is a collection of one or more statements taken together that
perform an action. In other words, a method is a small block of code that
performs an action.
31. The Main( ) method is the entry point for every C# console application. It
is the point at which execution begins.
32. The keyword static indicates that a single copy of the method is created.
33. The keyword void is included to signal that no value is returned. The
complete signature of a method starts with the return type, followed by the name of the method, and finally a parenthesized list of arguments. One signature for Main( ) is void static Main( ).
34. WriteLine( ) writes a string message to the monitor or a standard output device.
35. Methods communicate with each other through arguments placed inside parentheses.
36. Readability is important. Indenting is not required, but it is a good practice because it makes the code easier to read.
37. To see the results of a program, you must type the statements (source code) into a file, compile that code, and then execute the application.
38. Visual Studio integrated development environment (IDE) is an interactive development environment that enables you to type the source code, com- pile, and execute without leaving the IDE program.
39. One way to document your desired output is to construct a prototype, or mock-up, of your output.
40. The Read( ) method accepts any character from a standard input device, such as a keyboard. It does nothing with the character.
đang được dịch, vui lòng đợi..