VB Dotnet Interview Questions and Answers Pdf - 1

Question: 1

How is the DLL Hell problem solved in .NET?

Assembly versoning allows the application to specify not only the library it needs to run (which was available under Win32), but also the version of the assembly.

Question: 2

What is a Namespace? What is the use of a namespace?

Namespaces are logical grouping of classes and other types in hierarchical structure.

Namespaces are useful to avoid collision or ambiguity among the classes and type names.

Another use of the namespace is to arrange a group of classes for a specific purpose.

Question: 3

What is Delegates?

Delegates are a type-safe, object-oriented implementation of function pointers and are used in many situations where a component needs to call back to the component that is using it.

Delegates are generally used as basis of events, which allow any delegate to easily be registered for as event.

Question: 4

What is Remoting?

Remoting is a means by which one operating system process, or program, can communicate with another process.

The two processes can exist on the same computer or on two computers connected by a LAN or the Internet.

Web services are probably the best known type of remoting, but they are not the only option.

Question: 5

What are remotable objects in .NET Remoting?

Remotable objects are the objects that can be marshaled across the application domains.

You can marshal by value, where a deep copy of the object is created and then passed to the receiver.

You can also marshal by reference, where just a reference to an existing object is passed.

Related Questions