C#.NET INTERVIEW QUESTIONS & ANSWERS
DOT Net
TAGS
16. | What are the namespaces used in C#.NET? |
---|---|
There are Five levels of Access Modifiers are :
|
Posted by Bhushan. (Feb 17, 2014) | |
using System; |
|
Posted by Aswini Aluri. (Nov 20, 2013) | |
using system.io; |
Posted by Vivek. (Oct 11, 2013) | |
using system.data; |
|
Posted by Nagendra. (Sep 26, 2013) | |
using System.Linq; |
17. | What is an abstract class? |
---|---|
|
Posted by Arun. (Jun 29, 2014) | |
If the class is created for the purpose of providing common fields and members to all sub classes then this type of class is called an abstract class. |
18. | What are the two data types available in C#? |
---|---|
|
19. | What is Array List? |
---|---|
Array List can hold item of different types. As array list can increase and decrease size dynamically you do not have to use the REDIM keyword. You can access any item in array using INDEX value of the array position. |
20. | How is method overriding different from overloading? |
---|---|
When overriding, you change the method behavior for a derived class. Overloading simply involves having a method with the same name within the class. |