Tuesday, 27 December 2011

80.How do you enable Strict Type Checking in VB.NET?

 A.With OPTION STRICT ON keyword
 B.With OPTION EXPICIT Keyword
 C.With OPTION STRICT OFF keyword
 D.All the above
ANS:A

79.How do you Create Constructors in VB.NET ?

 A.Create a method and name it with the same name as class name
 B.Create a method and which is named as New
 C.Create a method and which is named as Initialize
 D.None of the above
ANS:B

78.How do you Dereference an Object in VB.NET ?

A.By setting the object to Null
B.With Close keyword
C.By setting the object to Nothing
D.None of the above
ANS:C

77.How does VB.NET instantiates the .NET object?

A.Using NEW keyword
B.Using CREATEOBJECT keyword
C.Using GETOBJECT keyword
D.Both A & B
ANS:A

76.Select the keyword used to refer the name space in our code in VB.Net?

 A.Using
 B.Package
 C.Imports
 D.None of the above
ANS:C

75.To determine the folder in which your application is placed you can use:

A.My.Computer.CurrentFolder
B.My.Application.CurrentFolder
C.My.System.CurrentFolder
D.All the above
ANS:B

74.My.Application.Log.WriteEntry , by default , writes to the file:

A.Applog.Log
B.Application.Log
C.assemblyname.log
D.None of these
ANS:C