Tuesday, 15 September 2015

Best VB.Net Interview Questions and Answers

81. What is metadata?
Metadata means data about the data i.e., machine-readable information about a resource, . such information might include details on content, format, size, or other characteristics of a data source. in .net, metadata includes type definitions, version information, external assembly references, and other standardized information.

82. 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 shared among the single application files.

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

84. What are different types of jit ?
There are three types of jit :
pre - jit
econo - jit
normal - jit.

85. 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 not.

86. 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 true.

87. 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 garbage collector to be disposed.

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

89. How many types of transactions are there in com + .net ?
There are 5 transactions types that can be used with com+.
not supported
required new

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

More Questions & Answers:-

No comments:

Post a Comment