1⟩ Explain Metadata?
Metadata is termed as "Data about content of the data" and it is found in the catalog of libraries. Practically, it is used at back side of book to see the necessary topic.
“VB Dot Net Developer related Frequently Asked Questions by expert members with experience in VB.Net Developer. These questions and answers will help you strengthen your technical skills, prepare for the new job test and quickly revise the concepts”
Metadata is termed as "Data about content of the data" and it is found in the catalog of libraries. Practically, it is used at back side of book to see the necessary topic.
VB.Net:
Optional Parameters are accepted
Not case sensitive
Nothing is used to release unmanaged resources
Support of Both structured and unstructured error handling
C#:
Optional Parameters are not accepted
Case Sensitive
'Using' is used to release unmanaged resources
Unstructured error handling
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.
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.
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
★ Econo-JIT
★ Normal JIT
Pre-JIT - Compiles at the time of deployment of an application.
Normal JIT - Compiles called methods at runtime and they get compiled first time when called.
Econo-JIT - Compiles called methods at runtime.
VB:
Platform dependent
VB is backward compatible
Interpreted
Exception Handling by 'On Error…..Goto'
Cannot develop multi-threaded applications
VB.Net:
Platform Independent
VB.Net is not backward compatible
Compiler Language
Exception Handling by 'Try….Catch'
Can develop multi thread applications
Strong Name is an important feature of .Net and it is used to identify shared assembly uniquely. Strong name has solved the problem of creating different object with same name and it can be assigned with the help of Sn.exe.
An assembly is one of the elements of a .NET application and it termed as a primary unit of all .NET applications. This assembly can be either DLL or executable file.
There are two types of assembly:
★ Private
★ Public
A public assembly or shared assembly is stored in Global Assembly Cache(GAC) which can be shared by many applications.
A private assembly is normally used by a single application and it is stored in application's directory.
Assembly is physical grouping of all units and Namespace logically groups classes. Namespace can have multiple assemblies.
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.
.Net generally allows implicit conversion of any data types. In order to avoid data loss during data type conversion, Option Strict keyword is used and it ensures compile time notification of these types of conversions.
Option Explicit is the keyword used in a file to explicitly declare all variables using declare keywords like Dim, Private, Public or Protected. If undeclared variable name persists, an error occurs at compile time.
Redim keyword is exclusively used for arrays and it is used to change the size of one or more dimensions of an array that has been already declared. Redim can free up or add elements to an array whenever required.
Jagged array is nothing but an array of arrays. Each entry in the array is another array that can hold any number of items.