Monday, September 23, 2013

Part 2: C#.Net Interview questions and answers


Part 1 C#.Net Interview questions and answers

Part 3 C#.Net Interview questions and answers

Part 4 C#.Net Interview questions and answers

Part 5 C#.Net Interview questions and answers


11.       What is Generics? Explain its advantage and disadvantage?

12.       What are Generic methods? Explain its advantage and disadvantage?

13.       What are generic collections?

14.       Generic VS non generic collections?

15.       What is Array?

16.       Can you store multiple data types in System.Array?

17.       What’s the difference between the System.Array.CopyTo() and System.Array.Clone()?

18.       What is ArrayList?

19.       Advantage / Disadvantage using arrays & ArrayList?

20.      Array VS ArrayList

21.      Advantage / Disadvantage using collection classes?

22.     What are all .Net collections classes located?

23.    What is Hashtable? 

24.    What’s the .NET datatype that allows the retrieval of data by a unique key?

25.    What is dictionary?

26.    Hashtable VS dictionary VS ArrayList VS generic list

27.    What are queue and stacks?

28.   What is Enum?

29.   What is Static class?
a)      Features
b)      When /Why to use
c)       Advantage / Disadvantage

30.   Static class VS sealed class and similarities between them.

31.   Static class VS class with private constructor and all static members

32.   Static members

33.   Static members/variables VS non static members

34.   Static VS Read Only VS constant

35.   Can static class have constructor? When it gets called?

36.   Can static constructor contain parameterized constructor?

No comments:

Post a Comment