VB.Net Interview Question and Answers
76. |
What are the difference between Structure and Class? |
|
- Structures are value type and Classes are reference type.
- Structures can not have constructors or destructors. Classes can have both contractors and destructors.
- Structures do not support Inheritance, while Classes support Inheritance
|
|
|
77. |
What is difference between Class And Interface? |
|
Class : is logical representation of object. It is collection of data and related sub procedures with defination. Interface : is also a class containg methods which is not having any definations.Class does not support multiple inheritance. But interface can support. |
|
|
78. |
What is the use of ErrorProvider Control? |
|
The ErrorProvider control is used to indicate invalid data on a data entry form. |
|
|
79. |
How many languages .NET is supporting now? |
|
When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. 44 languages are supported. |
|
|
80. |
How many .NET languages can a single .NET DLL contain? |
|
Many. |
|
|