Академический Документы
Профессиональный Документы
Культура Документы
Forced
Parallel
Concurrent
Optimized
System.Reflection.AmbiguousMatchException
FileNotFoundException
FormatException
AppDomain.UnhandledException
System.Deployment
System.ComponentModel
System.Data
System.Configuration
Neither of these
To implement application and session level events
To declare Global variables
6. In C#, what does the following code do: class Test: Form { }
oDeskCare24.com
Creates the class Test : Form and creates the class Test that inherits the class
Form
Creates the class Test : Form
Creates the class Form that inherits the class Test
Creates the class Test that inherits the class Form
7. An event is often:
Event
System
Catch
Exception
using
namespace
import
package
11. A class declared with the sealed keyword cannot be a base class.
True
False
12. Which C# code will output an element's value from a multidimensional array?
oDeskCare24.com
Console.WriteLine( myArray{1}{3} );
Console.WriteLine( myArray[1.3] );
Console.WriteLine( myArray[1][3] );
Console.WriteLine( myArray(1),(3) );
13. In C#, is it possible to pass methods as arguments for other methods without
modification.
True
False
Private
Local
Static
Serial
16. True or false? In C#, a class can inherit from multiple interfaces.
False
True
Winforms
Webforms
HTMLForms
Viewstate
Application objects
Session objects
All of these
oDeskCare24.com
19. To configure authentication for your Web application so clients cannot access it
anonymously, but access is allowed for users from untrusted domains, where should the
following code be added to? <system.web> <authentication mode="Forms"> <forms
loginUrl="login.aspx" /> </authentication> <authorization> <deny users="?" />
</authorization> </system.web>
21. In the body of a method, C# uses the variable named ________ to refer to the current
object whose method is being invoked.
that
do
this
call
oDeskCare24.com