U can Register and EARN MONEY

Interview qustion in IT field_vb.net

Question:-Can you define what is Jagged Array in VB.NET ?
Answer: Jagged array is multidimensional array.If jagged array is two dimensinal it also contain a table where each row can have a different number of columns.
A jagged array is really an array of arrays. To create a jagged array, you declare the array of arrays with multiple sets of parentheses or brackets and indicate the size of the jagged array in the first set of brackets.

Question:-What is DataType conversion in VB.NET ?
Answer: Convert one variable type to another one is called datatype conversion we can also caleed this casting in VB.NET some automatically conversion is also there.
Cbool CByte CChar Cdate CDec CDbl CInt CLng CObj CShort CSng CStr CType Asc

Question:-What do u mean by Redim in VB.NET ?
Answer: In vb.net we use Redim and erase to manipulate Array. Once we declare an array the size set to array its makes limited to that range but with the help of redim we used to change the array size.
Redim arr(6)
we can also used preserve to save these values.
Redim Preserve arr(6)

Question:- What is branching logic control in vb.net ?
Answer: Function and subroutines are the answer.The diffrence in two of them is function send information back from where it is called means function can return a value but subroutines can not do this.

Question:-Write the role of New keyword ?
Answer: New is used to initialize a new object. We sets a variable to any dattype with help of New keyword .The New keyword gives a value to the variable.We can also uses new keyword to initialize an object variable.
Example:- dim obj as new SqlDataAdapter. Question:-Write the role of New keyword ?
Answer: New is used to initialize a new object. We sets a variable to any dattype with help of New keyword .The New keyword gives a value to the variable.We can also uses new keyword to initialize an object variable.
Example:- dim obj as new SqlDataAdapter.