What’s the .NET collection class that allows an element to be accessed using a unique key?
Which of the following is true about read only variables?
can be allocated at compile time
can be allocated at runtime
declaration and initialization can be separated
all of the above
Defining two methods with the same name but with different parameters is called
Difference between Convert and Parse methods?
Convert converts the values, Parse is for parsing.
Both are Same
Convert allows null values, Parse cannot
None of the above
Default return type of an Event is
Events don't have any return type
None of above
Convert.ToString() and ToString() has main difference:
ToString() handle null values but Convert.ToString() don't
Convert.ToString() handle null values but ToString() don't
ToString() output as per format supplied
Convert.ToString() only handle null values
How does assembly versioning in .NET prevent DLL Hell?
The runtime checks to see that only one version of an assembly is on the machine at any one time.
.NET allows assemblies to specify the name AND the version of any assemblies they need to run.
The compiler offers compile time checking for backward compatibility.
What is a delegate?
A light weight thread or process that can call a single method.
A reference to an object in a different process.
An inter-process message channel.
A strongly typed function pointer.
What is a satellite Assembly?
A peripheral assembly designed to monitor permissions requests from an application.
Any DLL file used by an EXE file.
An assembly designed to alter the appearance or ‘skin’ of an application.
An assembly containing localized resources for another assembly.
What is boxing in .NET?
Encapsulating an object in a value type.
Encapsulating a copy of an object in a value type.
Encapsulating a value type in an object.
Encapsulating a copy of a value type in an object.
The C# keyword ‘int’ maps to which .NET type?
What is the difference between Server.Transfer and Response.Redirect?
Response.Redirect is used to post a form to another page.Server.Transfer is used to redirect the user to another page or site.
Server.Transfer is used to post a form to another page. Response.Redirect is used to redirect the user to another page or site.
Server.Transfer is used to get a form from another page. Response.Redirect is used to redirect the user to same page or site.
Answer 2 and Answer 3
What data type does the RangeValidator control support?
Integer,String and Date.
Integer and String only
In the URL listed below, what does the string (nav45m672ren60vizat) represent? http://server.com/(nav45m672ren60vizat)/page.aspx
Which one of the following object oriented techniques allows you to make changes to your code without impacting calling classes
Can we overwrite one web.config file with another web.config file in an ASP.NET application?
What is the name of the Web page property that you can query to determine that a Web page is being requested without data being submitted?
What method must be overridden in a custom control?
The Build() method
The Control_Build() method
The Render() method
The default constructor
How do you explicitly kill a user session?
How many web.config files can be there in an ASP.NET application?
More than One