Breaking News
Loading...
Tuesday 7 August 2012

VB.Net Interview Question and Answers 7

05:05
91. How many namespaces are in .NET version 1.1?
124.

92. What is a DataSet?
A DataSet is an in memory representation of data loaded from any data source

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.

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

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.

96. What is the difference between Convert.toString and .toString() method?
Convert.toString handles null while i.tostring() does not handles null.

97. 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 Oriented.
98. 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.

99. What is the root class in .Net?
system.object is the root class in .net .

100. What is the maximum size of the textbox?
65536

<< 1 2 3 4 5 6 7 8 >>

Share This :
Tags:

0 comments:

Post a Comment

 
Toggle Footer