Introduction To VB
Introduction To VB
NET:
Question: What is VB.NET?
Answer: VB.NET is a programming language developed by
Microsoft. It is an object-oriented programming language that is
part of the .NET Framework, designed for building Windows
applications.
Features of VB.NET 2012:
Question: What are the new features introduced in VB.NET
2012?
Answer: Some of the features introduced in VB.NET 2012 include
asynchronous programming support with the Async and Await
keywords, simplified event handling with the AddHandler and
RemoveHandler statements, and improved support for dynamic
programming through the Dynamic Language Runtime (DLR).
Language Basics:
Question: Explain the difference between ByVal and ByRef in
VB.NET.
Answer:
JIT is termed as Just in Time compiler which is used as a part of
runtime execution environment. There are three types of JIT and
they are:
Pre-JIT – Compiles at the time of deployment of an application
Econo-JIT – Compiles called methods at runtime
Normal JIT – Compiles called methods at runtime and they get
compiled first time when called
DataReader Dataset
Datareader has read only Dataset can hold more than
access to the data and it is one table from the same
set to be forward only. data source. It even stores
relationships between
tables.
Datareader cannot persist Dataset can persist contents
contents as it is read only
Datareader is connected Dataset is disconnected
architecture architecture