-
-
-
Which of the following is incorrect in .NET
A) System.Text.StringbuilderB) System.Collections.CollectionC) System.Data.oledb.oledbcommandD) Microsoft.VisualBasic.Vbmath
-
What is the operation that you can not do with primitive types
A) Assign a value to primitive type using a literalB) Declare primitive types to be constant using the Const keywordC) Create a new instance of primitive type with New keywordExplanation: Instance creation is possible only with reference types
-
-
-
Value types represent simple data storage located on
A) StackB) HeapC) Managed Heap
-
To find out the role of the logged in user, you�ll use:
A) User.IsInRole(�Administrators�)B) User.Role(�Administrators�)C) UserRole(�Administrators�)
-
What is the corresponding datatype in VB.Net for variant in VB
A) ArrayB) ObjectC) ListD) String
-
-
Root NameSpace Of The .Net
Object
-
How do you add Web Methods in VB.Net
A) Add keyword to Method signatureB) Add [WebMethod] on top of the Method SignatureC) Add {WebMethod} on top of the Method Signature
-
Which of the following statement is wrong in case of Constructors in VB.NET ?
A) Constructors are always named as NewB) Constructors do not return anythingC) Constructors can not be parameterizedD) Constructors are implicitly called when an object is created
-
The keyword to use while overloading operators is:
A) OperatorB) OverloadC) Overloads
-
It is possible to specify the base of the array Other than 0
A) TrueB) FalseExplanation: In VB.NET Arrays index always begin at 0.
-
TlbExp does the same thing which RegAsm does
A) TrueB) FalseExplanation: TlbExp exports the Type Library information
-
-
-
Clone method can create which type of object in VB.NET?
A) Shallow CopyB) Deep CopyC) Either A or BD) None
-
A �Stack� Collection provides �first-in-first-out� functionality:
A) TrueB) FalseExplanation: A stack provides last-in-first-out functionality
VB.NET Interview Questions
Ans