Tuesday 15 September 2015

VB.Net B.Com,MBA Interview Questions and Answers

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

More Questions & Answers:-

No comments:

Post a Comment