Vb Interview Questions And Answers

Vb Interview Questions list for experienced

  1. What is Metadata?
  2. What is the difference between VB and VB.Net?
  3. What is the difference between C# and VB.Net?
  4. What is namespace?
  5. Which namespace are used for accessing the data?
  6. What is JIT?
  7. What is an assembly and its use?
  8. What is strong name in .NET assembly?
  9. What are the different types of assembly?
  10. What is the difference between Namespace and Assembly?
  11. What is INTERNAL keyword in .Net Framework?
  12. What are Option Strict and Option Explicit?
  13. What is the use of New Keyword?
  14. What is ReDim keyword and its use?
  15. What is jagged array in VB.Net?
  16. What is Manifest?
  17. What are all the differences between Dispose and Finalize()?
  18. What are the types of generations in garbage collector?
  19. What is the use of Option explicit?
  20. What is the difference between System.String and System.StringBuilder classes?
  21. What is the difference between int and int32?
  22. What is hashtable?
  23. What are nested classes?
  24. What is Enumerator?
  25. What is Globalization?
  26. What is the difference between Dataset and Datareader?
  27. What is the difference between value and reference types?
  28. What is TRACE in VB.Net?
  29. What is Authentication and Authorization?
  30. What are the types of Authentication?
  31. What is Global Assembly Cache (GAC)?
  32. What is CLR?
  33. What is CTS?
  34. What is CLS?
  35. What is Managed code?
  36. What is serialization in .Net?
  37. How many languages are supported by .Net?
  38. What is the difference between Convert.tostring and i.tostring method?
  39. What are the two main parts of .NET?
  40. What is the difference between thread and process?
  41. What is strong typing and weak typing?
  42. How many .NET languages can a single .NET DLL contain?
  43. What is the class that allows an element to be accessed using Unique key?
  44. What is Code Security?
  45. Which DLL Is used for Microsoft .NET run time?
  46. How many classes a DLL can contain?
  47. How can we store decimal data in .NET?
  48. What is deep copy?
  49. Explain the services provided by Common Language Infrastructure.
  50. Explain the components of common language runtime.
  51. Describe the managed execution process in .NET.
  52. Explain how the .NET Framework performs automatic memory management.
  53. What is VB.NET?
  54. What are all the parts of .Net Framework?
  55. What is Difference between Namespace and Assembly?
  56. What is the difference between early binding and late binding?
  57. What is Intermediate Langauge?
  58. What is Commom Language Runtime?
  59. What is Common Type System?
  60. What is Common Language Specification?
  61. What's the difference between private and shared assembly?
  62. What are the technology areas that Microsoft.Net contains?
  63. What is an Assembly?
  64. What are the advantages of an assembly?
  65. What is Code Access Security?
  66. What are the difference between Structure and Class?
  67. What is the differences between dataset.clone and dataset.copy?
  68. What is the use of Internal keyword?
  69. What is the difference between the Debug class and Trace class?
  70. What are class access modifiers?
  71. What is portable executable?
  72. What is tracing?
  73. What is the difference between a Thread and a Process?
  74. What is serialization?
  75. How a base class method is hidden?
  76. What do you mean by .Net framework?
  77. What is the main purpose of Garbage collector?
  78. What is an Interface?
  79. What is the difference between an EXE and a DLL?
  80. What is the GAC?
  81. How does CAS work?
  82. What is difference between MetaData and Manifest?
  83. What is the top .NET class that everything is derived from?
  84. How is method overriding different from method overloading?
  85. What are the benefits of.NET Framework?
  86. What is an ArrayList?
  87. Define Naming convention?
  88. What is Overloading?
  89. When do you use virutal keyword?
  90. What is the purpose of XML Namespaces?
  91. What is the use of JIT ?
  92. Which method do you invoke on the DataAdapter control to load your generated dataset with data?
  93. What is the purpose of an Assembly?
  94. What languages does the .Net Framework support?
  95. What is a Literal Control?
  96. What are the namespace available in .net?
  97. What are the different types of Caching?
  98. What is Reference type and value type?
  99. What is Delegates?
  100. What is a Static class?
  101. Define Manifest?
  102. What are the two main parts of the .NET Framework?
  103. What is the advantage of using System.Text.StringBuilder over System.String?
  104. What is an Application Domain? How they get created?
  105. What is the difference between Compiler and Interpreter?
  106. What is an Object?
  107. What is Abstraction?
  108. How do you convert a string into an integer in .NET?
  109. Describe the compilation process for .NET code?
  110. What Is Boxing And Unboxing?
  111. How do you create threading in .NET? What is the namespace for that?
  112. What is Method overloading?
  113. What is Method Overriding?
  114. What is difference between inline and code behind?
  115. What is the difference between datagrid and gridview?
  116. What is the use of System.Diagnostics.Process class?
  117. What is the difference between static or dynamic assemblies?
  118. What is difference between Class And Interface?
  119. What is the use of ErrorProvider Control?
  120. How many languages .NET is supporting now?
  121. What is the difference between Custom Control and User Control?
  122. What keyword is used to accept a variable number of parameter in a method?
  123. What are different types of JIT ?
  124. What is difference between C# And Vb.net?
  125. What does assert() method do?
  126. Why string are called Immutable data Type?
  127. What is the difference between Convert.toString and .toString() method?
  128. How many types of Transactions are there in COM + .NET ?
  129. What is a DataTable?
  130. How many namespaces are in .NET version 1.1?
  131. What is a DataSet?
  132. What is the difference between in-proc and out-of-proc?
  133. What is the differnce between Managed code and unmanaged code?
  134. What is difference between constants, readonly and, static?
  135. What are the advantages of VB.NET?
  136. What is strong-typing versus weak-typing?
  137. What is the root class in .Net?
  138. What is the maximum size of the textbox?
  139. What is managed code execution?
  140. What is the strong name in .net assembly?
  141. How to run a Dos command in Vb.net?
  142. What are the assembly entry points?
  143. What are remotable objects in .NET Remoting?
  144. What namespaces are necessary to create a localized application?
  145. Which namespaces are used for data access?
  146. What is a SESSION and APPLICATION object?
  147. What is static constructor?
  148. What is the base class of .net?
  149. What namespace does the Web page belong in the .NET Framework class hierarchy?
  150. What is a formatter?
  151. What is static member?
  152. What is sealed class?
  153. What is Remoting?
  154. What is the main use of a namespace?
  155. Can one DLL file contains the compiled code of more than one .NET language?
  156. Which is the base class for all the classes in .NET Framework?
  157. What are the different types of applications supported in .NET (or) .NET Framework?
  158. Which method do you use to enforce garbage collection in .NET?

Vb interview questions and answers on advance and basic Vb with example so this page for both freshers and experienced condidate. Fill the form below we will send the all interview questions on Vb also add your Questions if any you have to ask and for apply in Vb Tutorials and Training course just send a mail on info@pcds.co.in in detail about your self.

Top Vb interview questions and answers for freshers and experienced

What is Vb ?

Answer :

Questions : 1 :: What is Metadata?

Metadata is termed as “Data about content of the data” and it is found in the catalog of libraries. Practically, it is used at back side of book to see the necessary...View answers

Questions : 2 :: What is the difference between VB and VB.Net?

Following are the differences between VB and VB.Net: VB VB.Net Platform dependent Platform Independent VB is backward compatible VB.Net is not backward...View answers

Questions : 3 :: What is the difference between C# and VB.Net?


Following table gives differences between C# and VB.Net: VB.Net C# Optional Parameters are accepted Optional Parameters are not accepted Not case sensitive Case...View answers

Questions : 4 :: What is namespace?

  A namespace is an organized way of representing Class, Structures and interfaces present in .NET language. Namespaces are hierarchically structured index of a class library, available to all...View answers

Questions : 5 :: Which namespace are used for accessing the data?

System.Data namespace is used for accessing and managing data from the required data source. This namespace deals only with the data from the specified database.

Questions : 6 :: What is JIT?


JIT is termed as Just in Time compiler which is used as a part of runtime execution environment. There are three types of JIT and they are: Pre-JIT – Compiles at the time of deployment of an...View answers

Questions : 7 :: What is an assembly and its use?

An assembly is one of the elements of a .NET application and it termed as a primary unit of all .NET applications. This assembly can be either DLL or executable file.

Questions : 8 :: What is strong name in .NET assembly?

Strong Name is an important feature of .Net and it is used to identify shared assembly uniquely. Strong name has solved the problem of creating different object with same name and it can be assigned...View answers

Questions : 9 :: What are the different types of assembly?


There are two types of assembly – Private – A private assembly is normally used by a single application and it is stored in application’s directory. Public – A public...View answers

Questions : 10 :: What is the difference between Namespace and Assembly?

Assembly is physical grouping of all units and Namespace logically groups classes. Namespace can have multiple assemblies.

Questions : 11 :: What is INTERNAL keyword in .Net Framework?

INTERNAL keyword is one of the access specifier which will be visible in a given assembly i.e. in a DLL file. This forms a single binary component and it is visible throughout the assembly....View answers

Questions : 12 :: What are Option Strict and Option Explicit?

.Net generally allows implicit conversion of any data types. In order to avoid data loss during data type conversion, Option Strict keyword is used and it ensures compile time notification of these...View answers

Questions : 13 :: What is the use of New Keyword?

New keyword is used with the constructor in which it can be used as a modifier or an operator. When it is used as a modifier, it hides inherited member from the base class member. When it is used as...View answers

Questions : 14 :: What is ReDim keyword and its use?

Redim keyword is exclusively used for arrays and it is used to change the size of one or more dimensions of an array that has been already declared. Redim can free up or add elements to an array...View answers

Questions : 15 :: What is jagged array in VB.Net?

Jagged array is nothing but an array of arrays. Each entry in the array is another array that can hold any number of items.

Questions : 16 :: What is Manifest?

A Manifest is a text file that is used to store metadata information of .NET assemblies. File type of Manifest can be saved as a type PE. Assembly Name, Version, Culture and key token can be saved as...View answers

Questions : 17 :: What are all the differences between Dispose and Finalize()?

Finalize method is called by Garbage collector which helps us to make free of unmanaged resources. There are some other resources like window handles, database connections are handled by iDisposable...View answers

Questions : 18 :: What are the types of generations in garbage collector?

There are three types of generations in garbage collector. Generation 0 – This identifies a newly created object that has been never marked for collection. Generation 1 – This...View answers

Questions : 19 :: What is the use of Option explicit?

Variable must be compulsorily declared when the Option Explicit is termed as ON. If it is OFF, variables can be used without declaration.

Questions : 20 :: What is the difference between System.String and System.StringBuilder classes?

System.string class is non-updatable and it will create new string object instead of updating the same. But updation in the same string object is possible for String. Stringbuilder class. So, the...View answers

Questions : 21 :: What is the difference between int and int32?

Int32 represent 32-bit signed integer whereas int is not a keyword used in VB.Net.

Questions : 22 :: What is hashtable?

Hashtable is set to be items with key and value pairs. Keys are referred as indexes and quick search can be performed for values by searching through the keys.

Questions : 23 :: What are nested classes?

A class that can be declared within the scope of another class. These classes are considered within the scope of the enclosed class and are available within that class or scope

Questions : 24 :: What is Enumerator?

An Enumerator or Enum is a value type with a set of constants given to the set of the list. Enumeration is used when definition is required for more than one number.

Questions : 25 :: What is Globalization?

Globalization is nothing but making the application  Internationalize and localizing the application to other languages or cultures. Culture is nothing but a combination of...View answers

Questions : 26 :: What is the difference between Dataset and Datareader?

DataReader Dataset Datareader has read only access to the data and it is set to be forward only. Dataset can hold more than one table from the same data source. It even stores...View answers

Questions : 27 :: What is the difference between value and reference types?

Value types directly store the data and it is allocated to stack. Reference type store a reference to the value’s memory address and are allocated to heap.

Questions : 28 :: What is TRACE in VB.Net?

TRACE allows the user to view how the code has been executed in detail. This tells how the code is working.

Questions : 29 :: What is Authentication and Authorization?

Authentication is the process of obtaining credentials from the users and verifying the user’s identity. Authorization is the process of giving access to the authenticated resources....View answers

Questions : 30 :: What are the types of Authentication?

There are three types of Authentication and they are – Windows Authentication Forms Authentication Passport Authentication

Questions : 31 :: What is Global Assembly Cache (GAC)?

GAC is used where shared .NET assembly resides. It is used in the following criteria: If .Net assembly has special security requirements If .Net application has to be shared with other...View answers

Questions : 32 :: What is CLR?

CLR is abbreviated as Common Language Runtime and it forms heart of the .NET framework. It is the responsibility of runtime to take care of the code execution of the program. CLR takes care of the...View answers

Questions : 33 :: What is CTS?

CTS is Common Type System which is used to communicate smoothly between the languages. For example, if VB has Integer data type and C++ has long data type and these data types are not compatible. In...View answers

Questions : 34 :: What is CLS?

Common Language Specification is a subset of CTS and it is used to unite all languages in to one umbrella. This extends to support all the .NET language into one unit.

Questions : 35 :: What is Managed code?

Managed Code is used to run inside the CLR environment and it is called as .NET run time. All Intermediate Language (IL) are set to be Managed code.

Questions : 36 :: What is serialization in .Net?

Serialization is defined as a process of converting an object to stream of bytes. This is used mainly to transport objects.

Questions : 37 :: How many languages are supported by .Net?

Following are the languages supported by VB.Net: C# VB.Net COBOL Perl

Questions : 38 :: What is the difference between Convert.tostring and i.tostring method?

Convert.tostring handles Null and i.tostring does not handle null.

Questions : 39 :: What are the two main parts of .NET?

They are – Common Language Runtime (CLR) and .NET Framework class library.

Questions : 40 :: What is the difference between thread and process?

Thread is used to execute more than one program at a time.  Whereas, Process executes single program at a time.

Questions : 41 :: What is strong typing and weak typing?

Strong type is checking the types of variables at compile time and weak type is checking the types of system as late as possible which is nothing but run time.

Questions : 42 :: How many .NET languages can a single .NET DLL contain?

Only one language will be supported by one DLL.

Questions : 43 :: What is the class that allows an element to be accessed using Unique key?

Hash table is the collection class that allows an element to be accessed using Unique key

Questions : 44 :: What is Code Security?

.NET framework provides security features to secure code from unauthorized users. There are two types of security in .NET: Role based security – Authorizes User Code access security –...View answers

Questions : 45 :: Which DLL Is used for Microsoft .NET run time?

Mscoree.dll is used for Microsoft .NET runtime DLL.

Questions : 46 :: How many classes a DLL can contain?

Unlimited number of classes can be present in a DLL.

Questions : 47 :: How can we store decimal data in .NET?

BinaryWriter is used to store decimal data in .NET.

Questions : 48 :: What is deep copy?

Deep copy is nothing but creating a new object and then copying the non-static fields of the current object to new object

Questions : 49 :: Explain the services provided by Common Language Infrastructure.

a. Common Language Runtime: CLR is considered to be the core component of .NET framework. Its primary responsibility is to convert the CIL/MSIL code into native machine language code. It takes care...View answers

Questions : 50 :: Explain the components of common language runtime.

a. Class Loader: is an abstract class. Its purpose is to tell JVM in what manner a class is to be loaded at runtime. b. MSIL: Microsoft Intermediate Language is considered to be the lowest form of...View answers

Questions : 51 :: Describe the managed execution process in .NET.

Steps in managed execution process: 1. Compiler needs to be chosen 2. Convert the source code to MSIL now known as CIL 3. Convert MSIL to Native code using JIT. In this step, it is also verified...View answers

Questions : 52 :: Explain how the .NET Framework performs automatic memory management.

Automatic memory management involves two major steps: a. Allocation of memory b. Release of memory Allocation of memory: - When a new process is initialized, runtime reserves address space in...View answers

Questions : 53 :: What is VB.NET?

VB.Net is a windows based programming language.It supports oops concept.

Questions : 54 :: What are all the parts of .Net Framework?

Common Language Runtime .Net Framework Class Library

Questions : 55 :: 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.

Questions : 56 :: What is the difference between early binding and late binding?

Calling a non–virtual method, decided at a compile time is known as early binding. Calling a virtual method (Pure Polymorphism), decided at a runtime is known as late...View answers

Questions : 57 :: What is Intermediate Langauge?

  Microsoft Intermediate Language(MSIL or IL) is the CPU -independent instruction set into which .Net framework programs are compiled. It contains instructions for loading, storing...View answers

Questions : 58 :: What is Commom Language Runtime?

CLR also known as Common Language Run time provides a environment in which program are executed, it activate object, perform security check on them, lay them out in the memory, execute them and...View answers

Questions : 59 :: What is Common Type System?

The common type system is a rich type system, built into the common language runtime, which supports the types and operations found in most programming languages.

Questions : 60 :: What is Common Language Specification?

The Common Language Specification is a set of constructs and constraints that serves as a guide for library writers and compiler writers.

Questions : 61 :: What's the difference between private and shared assembly?

Private assembly is used inside an application only and does not have to be identified by a strong name.Shared assembly can be used by multiple applications and has to have a strong name.

Questions : 62 :: What are the technology areas that Microsoft.Net contains?

.Net Framework .Net Enterprise Servers .Net Languages and language tools

Questions : 63 :: What is an Assembly?

Assembly are the basic buiding blocks of the .net framework.They are the logical grouping of the functionality in a physical file.

Questions : 64 :: What are the advantages of an assembly?

Assembly are the basic buiding blocks of the .net framework.They are the logical grouping of the functionality in a physical...View answers

Questions : 65 :: What is Code Access Security?

CAS - Code Access Security is the part of the .NET security model that determines whether or not a piece of code is allowed to run, and what resources it can use when it is running.

Questions : 66 :: What are the difference between Structure and Class?

Structures are value type and Classes are reference type Structures can not have constructors or destructors. Classes can have both constructors and destructors. Structures do not support...View answers

Questions : 67 :: What is the differences between dataset.clone and dataset.copy?

Dataset.clone copies just the structure of dataset (including all the datatables, schemas, relations and constraints.); however it doesn’t copy the data. Dataset.copy, copies both the dataset...View answers

Questions : 68 :: 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.

Questions : 69 :: What is the difference between the Debug class and Trace class?

Use Debug class for debug builds, use Trace class for both debug and release builds.

Questions : 70 :: 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...View answers

Questions : 71 :: What is portable executable?

The file format used for executable programs and for files to be linked together to form executable programs.

Questions : 72 :: What is tracing?

Tracing refers to collecting information about the application while it is running. You use tracing information to troubleshoot an application.

Questions : 73 :: 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.

Questions : 74 :: 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...View answers

Questions : 75 :: How a base class method is hidden?

Hiding a base class method by declaring a method in derived class with keyword new. This will override the base class method and old method will be suppressed.

Questions : 76 :: What do you mean by .Net framework?

The .Net Framework is a software development framework from Microsoft. It is a collection of tools, technologies and languages that provides an environment to build and deploy robust enterprise...View answers

Questions : 77 :: What is the main purpose of Garbage collector?

The main purpose of Garbage collector isto destroy the variables and other objects that were used by the application hence releasing the memory blocked by them.

Questions : 78 :: 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.

Questions : 79 :: 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.

Questions : 80 :: What is the GAC?

Each computer where the common language runtime is installed has a machine-wide code cache called the global assembly cache. The global assembly cache stores assemblies that are to be shared by...View answers

Questions : 81 :: How does CAS work?

The CAS security policy revolves around two key concepts - code groups and permissions. Each .NET assembly is a member of a particular code group, and each code group is granted the permissions...View answers

Questions : 82 :: 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...View answers

Questions : 83 :: What is the top .NET class that everything is derived from?

System.Object

Questions : 84 :: 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.

Questions : 85 :: What are the benefits of.NET Framework?

.NET Framework offers many benefits to application developers. Some of these benefits are as follows: Consistent programming model Language interoperability Automatic management of resources Ease...View answers

Questions : 86 :: What is an ArrayList?

The ArrayList object is a collection of items containing a single data type values.

Questions : 87 :: Define Naming convention?

Naming Conventions are simply agreed upon standards for how elements will be named in a program.

Questions : 88 :: 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.

Questions : 89 :: When do you use virutal keyword?

When we need to override a method of the base class in the sub class, then we give the virtual keyword in the base class method. This makes the method in the base class to be overridable. Methods,...View answers

Questions : 90 :: 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 The second part is the element type or...View answers

Questions : 91 :: What is the use of JIT ?

JIT (Just - In - Time) is a compiler which converts MSIL code to Native Code (ie. CPU-specific code that runs on the same computer architecture).

Questions : 92 :: Which method do you invoke on the DataAdapter control to load your generated dataset with data?

DataAdapter’s fill () method is used to fill load the data in dataset.

Questions : 93 :: 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...View answers

Questions : 94 :: What languages does the .Net Framework support?

The four core languages supported by .NET Framework are Visual Basic.Net C#.Net Visual J#.Net Jscript.Net

Questions : 95 :: What is a Literal Control?

The Literal control is used to display text on a page. The text is programmable. This control does not let you apply styles to its content.

Questions : 96 :: What are the namespace available in .net?

Namespace is a logical grouping of...View answers

Questions : 97 :: What are the different types of Caching?

There are three types of Caching : Output Caching Fragment Caching Data Caching.

Questions : 98 :: What is Reference type and value type?

Reference Type : Reference types are allocated on the managed CLR heap, just like object types. A data type that is stored as a reference to the value’s location. Reference types can be...View answers

Questions : 99 :: 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.

Questions : 100 :: What is a Static class?

Static class is a class which can be used or accessed without creating an instance of the class.

Questions : 101 :: Define Manifest?

Manifest is the set of metadata that describes the contents of the assembly.

Questions : 102 :: 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.

Questions : 103 :: What is the advantage of using System.Text.StringBuilder over System.String?

StringBuilder is more efficient in cases where there is a large amount of string manipulation. Strings are immutable, so each time it's being operated on, a new instance is created.

Questions : 104 :: What is an Application Domain? How they get created?

An Application Domain can be thought of as a lightweight processes controlled by the .Net runtime. Application Domains are usually created by hosts like Windows Shell, ASP.NET and IE. When you run a...View answers

Questions : 105 :: What is the difference between Compiler and Interpreter?

Compiler :A compiler is a program that translates program (called source code) written in some high level language into object code. Interpreter: An interpreter translates high-level instructions...View answers

Questions : 106 :: What is an Object?

bject represents/resembles a Physical/real entity. An object is simply something you can give a name

Questions : 107 :: What is Abstraction?

Hiding the complexity. It is a process of defining communication interface for the functionality and hiding rest of the things.

Questions : 108 :: How do you convert a string into an integer in .NET?

Int32.Parse(string) Convert.ToInt32()

Questions : 109 :: Describe the compilation process for .NET code?

Source code is compiled and run in the .NET Framework using a two-stage process. First, source code is compiled to Microsoft intermediate language (MSIL) code using a .NET Framework-compatible...View answers

Questions : 110 :: What Is Boxing And Unboxing?

Boxing : Boxing is an implicit conversion of a value type to the reference type.Examples : Stuct Type, Enumeration TypeUnBoxing : Unboxing is an explicit conversion from the reference to a value...View answers

Questions : 111 :: How do you create threading in .NET? What is the namespace for that?

System.Threading.Thread

Questions : 112 :: What is Method overloading?

Method overloading occurs when a class contains two methods with the same name, but different signatures.

Questions : 113 :: What is Method Overriding?

An override method provides a new implementation of a member inherited from a base class. The method overridden by an override declaration is known as the overridden base method.

Questions : 114 :: What is difference between inline and code behind?

Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx page.

Questions : 115 :: What is the difference between datagrid and gridview?

Datagrid is used in windows application and gridview is used in web and in datagrid we cannot write the code for datagrid properties where as for grid view we can write the code like template column...View answers

Questions : 116 :: What is the use of System.Diagnostics.Process class?

The System.Diagnostics namespace provides the interfaces, classes, enumerations and structures that are used for tracing. The System.Diagnostics namespace provides two classes named Trace and Debug...View answers

Questions : 117 :: What is the difference between static or dynamic assemblies?

Assemblies can be static or dynamic.Static assemblies : can include .NET Framework types (interfaces and classes), as well as resources for the assembly (bitmaps, JPEG files, resource files, and so...View answers

Questions : 118 :: What is difference between Class And Interface?

Class : is logical representation of object. It is collection of data and related sub procedures with defination.Interface : is also a class containg methods which is not having any definations.Class...View answers

Questions : 119 :: What is the use of ErrorProvider Control?

The ErrorProvider control is used to indicate invalid data on a data entry form.

Questions : 120 :: How many languages .NET is supporting now?

When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. 44 languages are supported.

Questions : 121 :: What is the difference between Custom Control and User Control?

Custom Controls are compiled code (Dlls), easier to use, difficult to create, and can be placed in toolbox. Drag and Drop controls. Attributes can be set visually at design time.AUser Control is...View answers

Questions : 122 :: What keyword is used to accept a variable number of parameter in a method?

“params” keyword is used as to accept variable number of parameters.

Questions : 123 :: What are different types of JIT ?

There are three types of jit : pre - jit Econo - jit Normal - jit.

Questions : 124 :: What is difference between C# And Vb.net?

C# is case sensitive while VB is not case sensitive. vb.net does not support xml while c# support xml vb.net supports with constructor while c# do...View answers

Questions : 125 :: What does assert() method do?

In debug compilation, assert takes in a Boolean condition as a parameter, and shows the error dialog if the condition is false. The program proceeds without any interruption if the condition is...View answers

Questions : 126 :: Why string are called Immutable data Type?

The memory representation of string is an Array of Characters, So on re-assigning the new array of Char is formed & the start address is changed . Thus keeping the Old string in Memory for...View answers

Questions : 127 :: What is the difference between Convert.toString and .toString() method?

Convert.toString handles null while i.tostring() does not handles null.

Questions : 128 :: How many types of Transactions are there in COM + .NET ?

There are 5 transactions types that can be used with COM+. Disabled Not Supported Supported Required Required New

Questions : 129 :: What is a DataTable?

A DataTable is a class in .NET Framework and in simple words a DataTable object represents a table from a database.

Questions : 130 :: How many namespaces are in .NET version 1.1?

124.

Questions : 131 :: What is a DataSet?

A DataSet is an in memory representation of data loaded from any data source

Questions : 132 :: What is the difference between in-proc and out-of-proc?

An Inproc is one which runs in the same process area as that of the client giving tha advantage of speed but the disadvantage of stability becoz if it crashes it takes the client application also...View answers

Questions : 133 :: What is the differnce between Managed code and unmanaged code?

Managed Code: Code that runs under a "contract of cooperation" with the common language runtime. Managed code must supply the metadata necessary for the runtimeto provide services such as memory...View answers

Questions : 134 :: What is difference between constants, readonly and, static?

Constants: The value can’t be changed. Read-only: The value will be initialized only once from the constructor of the class. Static: Value can be initialized...View answers

Questions : 135 :: What are the advantages of VB.NET?

The main advantages of .net are : .NET is a language independent Automatic memory management(garbage collection) Disconnected architecture Object...View answers

Questions : 136 :: What is strong-typing versus weak-typing?

Strong type is checking at the variables in compile time.Weak typing is checking the variables at run-time.

Questions : 137 :: What is the root class in .Net?

system.object is the root class in .net .

Questions : 138 :: What is the maximum size of the textbox?

65536

Questions : 139 :: What is managed code execution?

The .Net framework loads and executes the .Net applications, and manages the state of objects during program execution. This also provides automatically garbage collections.

Questions : 140 :: What is the strong name in .net assembly?

Strong Name is similar to GUID (It is supposed to be unique in space and time). In COM components. Strong name is only needed when we need to deploy assembly in GAC. Strong names use public key...View answers

Questions : 141 :: How to run a Dos command in Vb.net?

Shell("cmd.exe /c c:first.exe < in.txt > out.txt")

Questions : 142 :: What are the assembly entry points?

An assembly can have only one entry point from DllMain, WinMain or Main.

Questions : 143 :: 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...View answers

Questions : 144 :: What namespaces are necessary to create a localized application?

System.Globalization System.Resources

Questions : 145 :: Which namespaces are used for data access?

System.Data System.Data.OleDB System.Data.SQLClient

Questions : 146 :: What is a SESSION and APPLICATION object?

Session object store information between HTTP requests for a particular user. Session variables are used to store user specific information where as in application variables we can’t store user...View answers

Questions : 147 :: What is static constructor?

A static constructor is used to initialize a class. It is called automatically to initialize the class before the first instance is created or any static members are referenced.

Questions : 148 :: What is the base class of .net?

System.Object

Questions : 149 :: What namespace does the Web page belong in the .NET Framework class hierarchy?

System.Web.UI.Page

Questions : 150 :: 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.

Questions : 151 :: What is static member?

The member defined as static which can be invoked directly from the class level, rather than from its instance.

Questions : 152 :: 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.

Questions : 153 :: 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...View answers

Questions : 154 :: What is the main use of a namespace?

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.

Questions : 155 :: Can one DLL file contains the compiled code of more than one .NET language?

No, a DLL file can contain the compiled code of only one programming language  

Questions : 156 :: Which is the base class for all the classes in .NET Framework?

The System.Object class

Questions : 157 :: What are the different types of applications supported in .NET (or) .NET Framework?

.NET or .NET Framework is a complete environment for developers to develop, run, and deploy the following applications : Console applications Windows Forms applications Windows Presentation...View answers

Questions : 158 :: Which method do you use to enforce garbage collection in .NET?

The System.GC.Collect() method.
More Question

Ask your interview questions on Vb

Write Your comment or Questions if you want the answers on Vb from Vb Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---