Technicalsymposium.com - New Updates Alerts-Subscribe
Our Telegram Channel - Join Us
Our Whatsapp Group - Join Us
Technical Interview Materials PDF-Free Download
Technical Interview Q & A PDF
. What is JIT?
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
7. What is an assembly and its use?
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.
8. What is strong name in .NET assembly?
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.
9. What are the different types of assembly?
There are two types of assembly –
• Private – A private assembly is normally used by a single application and it is stored in application’s directory.
• Public – A public assembly or shared assembly is stored in Global Assembly Cache(GAC) which can be shared by many applications
10. What is the difference between Namespace and Assembly?
Assembly is physical grouping of all units and Namespace logically groups classes. Namespace can have multiple assemblies.
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.
12. What are Option Strict and Option Explicit?
.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.
13. 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.
15. What is jagged array in VB.Net?
Jagged array is nothing but an array of arrays. Each entry in the array is another array that can hold any number of items.
16. What is Manifest?
A Manifest is a text file that is used to store metadata information of .NET assemblies. File type of Manifest can be saved as a type PE. Assembly Name, Version, Culture and key token can be saved as a Manifest.
17. What are all the differences between Dispose and Finalize()?
Finalize method is called by Garbage collector which helps us to make free of unmanaged resources. There are some other resources like window handles, database connections are handled by iDisposable interface. Dispose method is handled by IDisposable interface to explicitly release unused resources. Dsipose can be called even if other references to the object are alive.
18. What is Garbage Collection?
Garbage collection is also known as automatic memory management, which is used for automatic recycling of dynamically allocated memory. Garbage collection is performed by Garbage collector which will recycle memory if it is proven that memory will be unused.
19. What are the types of generations in garbage collector?
There are three types of generations in garbage collector.
Generation 0 – This identifies a newly created object that has been never marked for collection.
Generation 1 – This identifies an object which has been marked as collection but not removed.
Generation 2 – This identifies an object that has survived more than one sweep of the Garbage collector.
20. What is the use of Option explicit?
Variable must be compulsorily declared when the Option Explicit is termed as ON. If it is OFF, variables can be used without declaration.
21. 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.
22. What is the difference between int and int32?
Int32 represent 32-bit signed integer whereas int is not a keyword used in VB.Net.
23. 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.
24. What are nested classes?
A class that can be declared within the scope of another class. These classes are considered within the scope of the enclosed class and are available within that class or scope.
25. What is Enumerator?
An Enumerator or Enum is a value type with a set of constants given to the set of the list. Enumeration is used when definition is required for more than one number.
26. What is Delegate?
A delegate is defined as an object that can refer to a method. Whenever a delegate is assigned to a method, it behaves exactly like that method.
Source: Contents are provided by Technicalsymposium Google Group Members.
Disclaimer: All the above contents are provided by technicalsymposium.com Google Group members.
Further, this content is not intended to be used for commercial purpose. Technicalsymposium.com is not liable/responsible for any copyright issues.
Technicalsymposium.com-All Quick Links & Study Notes PDF- Free Download