VB.Net Interview Question and Answers

91. How many namespaces are in .NET version 1.1?
  124.
 
Your Name Your Email-ID
Your Answer
92. What is a DataSet?
  A DataSet is an in memory representation of data loaded from any data source
 
Your Name Your Email-ID
Your Answer
93. 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 with it.
Outproc is one which works outside the clients memory thus giving stability to the client, but we have to compromise a bit on speed.
 
Your Name Your Email-ID
Your Answer
94. 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 management, cross-language integration, code access security, and automatic lifetime control of objects. All code based on Microsoft intermediate language (MSIL) executes as managed code.
Un-Managed Code:Code that is created without regard for the conventions and requirements of the common language runtime. Unmanaged code executes in the common language runtime environment with minimal services (for example, no garbage collection, limited debugging, and so on).
 
Your Name Your Email-ID
Your Answer
95. 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 once.
 
Your Name Your Email-ID
Your Answer