VB.NET INTERVIEW QUESTION & ANSWERS
31. |
What is the difference between serialization and deserialization? |
|
Serialization is the process of converting an object into a stream of bytes.
De-serialization is the opposite process of creating an object from a stream of bytes.
Serialization/De-serialization is mostly used to transport objects. |
32. |
What are types of binding? |
|
There are two types of binding - Early Binding
- Late Binding
|
33. |
What is GAC or Global Assembly Cache? |
|
Global Assembly Cache (GAC) is a common place to share the .NET assemblies across many applications. GAC caches all strong named assembly references within it. All System assemblies that come with the .NET framework reside in the GAC. |
34. |
What is the difference between early binding and late binding? |
|
- Calling a non-virtual method, decided at a compile time is known as early binding.
- Calling a virtual method (Pure Polymorphism), decided at a runtime is known as late binding.
|
35. |
What is Garbage Collection? |
|
CLR automatically manages memory thus eliminating memory leaks. When objects are not referred , GC automatically releases those memories thus providing efficient memory management. |