VB.NET INTERVIEW QUESTION & ANSWERS
DOT Net
TAGS
21. | Which method do you use to enforce garbage collection in .NET? |
---|---|
The System.GC.Collect() method |
22. | What is difference between C# And Vb.net? |
---|---|
|
23. | What is namespaces? |
---|---|
|
24. | What is Delegates? |
---|---|
Delegates are a type-safe, object-oriented implementation of function pointers and are used in many situations where a component needs to call back to the component that is using it. Delegates are generally used as basis of events, which allow any delegate to easily be registered for as event. |
Posted by Suparna Basu. (Sep 29, 2014) | |
Delegates are basically type safe function pointer. It is used to avoid heavy coding in client layer. We can call same signature subroutine thru deligate avoiding calling each individual functions or methods. |
25. | Which is the root namespace for fundamental types in .NET Framework? |
---|---|
The System namespace is the root namespace for fundamental types in .NET Framework. |