A Hello World program is a simple program that merely displays the words World” “Hello on the screen. ANS: T The only way to run a program in Visual Studio is by clicking the Debugging button on the toolbar. ANS: F C# source code always end with the .cs extension. ANS: T The Program.cs file contains auto-generated code that serves as an outline to which you can add your own code as you develop the application. ANS: F It is important that you do not modify the contents of the Form1.cs file because doing so could prevent the application from executing. ANS: F C# code is primarily organized in three ways: namespaces, classes, and methods. ANS: T C# code is organized as namespaces, which are contained inside classes, which are contained inside methods. ANS: F Each opening brace ({) of a code container must have a corresponding closing brace (}) at some later point in the program. ANS: T You can detach the code editor and move it to another part of the screen. ANS: T When an event handler is generated for a control by Visual Studio, it doesn’t do anything until you add your own code. ANS: T The .NET Framework provides a method named that you can use MessageBox.Show in Visual C# to display a message box. ANS: T Programmers refer to the act of executing a method as calling the method. ANS: T
A Hello World program is a simple program that merely displays the words “Hello World” on the screen. ANS: T The only way to run a program in Visual Studio is by clicking the Debugging button on the toolbar. ANS: F C# source code always end with the .cs extension. ANS: T The Program.cs file contains auto-generated code that serves as an outline to which you can add your own code as you develop the application. ANS: F It is important that you do not modify the contents of the Form1.cs file because doing so could prevent the application from executing. ANS: F C# code is primarily organized in three ways: namespaces, classes, and methods. ANS: T C# code is organized as namespaces, which are contained inside classes, which are contained inside methods. ANS: F Each opening brace ({) of a code container must have a corresponding closing brace (}) at some later point in the program. ANS: T You can detach the code editor and move it to another part of the screen. ANS: T When an event handler is generated for a control by Visual Studio, it doesn’t do anything until you add your own code. ANS: T The .NET Framework provides a method named MessageBox.Show that you can use in Visual C# to display a message box. ANS: T Programmers refer to the act of executing a method as calling the method. ANS: T
Starting%20Out%20with%20Visual%20C%23%202012%20Introduction%20to%20Visual%20C%23.docx