1. What is VB.NET?
VB.Net is a simple, modern, object-oriented
computer programming language developed by Microsoft to combine the
power of .NET Framework and the common language runtime with the
productivity benefits that are the hallmark of Visual Basic.
2. What is namespace?
A namespace is an organized way of representing
Class, Structures and interfaces present in .NET language. Namespaces
are hierarchically structured index of a class library, available to all
.NET Languages.
3. Which namespace are used for accessing the data?
System.Data namespace is used for accessing and
managing data from the required data source. This namespace deals only
with the data from the specified database.
4. What is the base class of .net?
System. Object is the base class of .NET
5. What are Option Strict and Option Explicit?
Option Explicit:
By default, the Visual Basic .NET or Visual Basic compiler enforces explicit variable declaration, which requires that you declare every variable before you use it. To change this default behavior, see the Change the Default Project Values section.
By default, the Visual Basic .NET or Visual Basic compiler enforces explicit variable declaration, which requires that you declare every variable before you use it. To change this default behavior, see the Change the Default Project Values section.
Option Strict
By default, the Visual Basic .NET or Visual Basic compiler does not enforce strict data typing. To change this default behavior, see the Change the Default Project Values section.
6. What is the use of Command builder?
Command builder generates insert/update/delete
commands for data adapter based on select command. Automatic creation of
insert/update/delete commands hinders performance. The command builder
uses select command property of data adapter to determine values for
other commands.
7. What is the use of New Keyword?
New keyword is used with the constructor in
which it can be used as a modifier or an operator. When it is used as a
modifier, it hides inherited member from the base class member. When it
is used as an operator, it creates an object to invoke constructors.
Dim frmEmployee As New Form1
frmEmployee.show()
8. What is the difference between System.String and System.StringBuilder classes?
System.string class is non-updatable and it will
create new string object instead of updating the same. But updation in
the same string object is possible for String. Stringbuilder class. So,
the operation on string builder is faster and efficient than the string
class.
9. What is hashtable?
Hashtable is set to be items with key and value
pairs. Keys are referred as indexes and quick search can be performed
for values by searching through the keys.
10. What is TRACE in VB.Net?
TRACE allows the user to view how the code has been executed in detail.
11. What is INTERNAL keyword in .Net Framework?
INTERNAL keyword is one of the access specifier
which will be visible in a given assembly i.e. in a DLL file. This forms
a single binary component and it is visible throughout the assembly.
No comments:
Post a Comment