Anda di halaman 1dari 3

What is polymorphism: Mean by more than one form.

Ability to provide different implementation


based on different number / type of parameters.

11. Whats a delegate? A delegate object encapsulates a reference to a method. In C++ they were referred to as function pointers. 1. What is VB.NET? VB.Net is windows based programming language. It supports oops concept. 2. What is the base class of .net? System.Object 3. What is Difference between Namespace and Assembly? Namespace is a collection of different classes whereas an assembly is the basic building blocks of the .net framework. 14. What are the difference between Structure and Class? Structures are value type and Classes are reference type Structures cannot have constructors or destructors. Classes can have both constructors and destructors. Structures do not support Inheritance, while Classes support Inheritance.

16. What is the use of Internal keyword? Internal keyword is one of the access specifier available in .Net framework , that makes a type visible in a given assembly , for e.g : a single dll can contain multiple modules. 18. What are class access modifiers? Access modifiers are keywords used to specify the declared accessibility of a member or a type. This section introduces the four access modifiers : Public Protected Internal Protected inertnal Private

22. What is the difference between a Thread and a Process? A Process is an instance of an running application. And a thread is the Execution stream of the Process. A process can have multiple Thread. 23. What is serialization? Serialization is the process of converting an object into a stream of bytes. De-serialization is the opposite process of creating an object from a stream of bytes. Serialization/De-serialization is mostly used to transport objects. 27. What is an Interface?

An interface has no implementation; it only has the signature or in other words, just the definition of the methods without the body. 28. What is the difference between an EXE and a DLL? Dll is an In-Process Component whereas EXE is an OUt-Process Component.Exe is for single use whereas you can use Dll for multiple use. Exe can be started as standalone where dll cannot be. 31. What is difference between MetaData and Manifest? Metadata and Manifest forms an integral part of an assembly( dll / exe ) in .net framework . Out of which Metadata is a mandatory component , which as the name suggests gives the details about various components of IL code viz : Methods , properties , fields , class etc. 32. What is the top .NET class that everything is derived from? System.Object 33. How is method overriding different from method overloading? When overriding a method, you change the behavior of the method for the derived class. Overloading a method simply involves having another method with the same name within the class. 34. What is a formatter? A formatter is an object that is responsible for encoding and serializing data into messages on one end, and deserializing and decoding messages into data on the other end. 35. What is an ArrayList? The ArrayList object is a collection of items containing a single data type values. 37. What is Overloading? A process of creating different implementation of a method having a same name as base class, in a derived class. It implements Inheritance. 39. What is the purpose of XML Namespaces? An XML Namespace is a collection of element types and attribute names. It consists of 2 parts
The first part is the URI used to identify the namespace he second part is the element type or attribute name itself. T

45. What is the purpose of an Assembly? An assembly controls many aspects of an application. The assembly handles versioning, type and class scope, security permissions, as well as other metadata including references to other

assemblies and resources. The rules described in an assembly are enforced at runtime. 49. What are the namespace available in .net? Namespace is a logical grouping of class. System System.Data System.IO System.Drawing System.Windows.Forms System.Threading

53. 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.

55. What is a Static class? Static class is a class which can be used or accessed without creating an instance of the class. 56 What is sealed class? Sealed classes are those classes which can not be inherited and thus any sealed class member can not be derived in any other class. A sealed class cannot also be an abstract class. 57. What are the two main parts of the .NET Framework? There are the two main parts of the .NET Framework are :

The common language runtime (CLR). The .NET Framework class library.

Anda mungkin juga menyukai