Friday, December 14, 2018

C# Interview Questions -- Part 2

C# Interview Questions -- Part 2

36. What are delegates?    
37. What is the base class in  net from which all the classes are derived from?   
38. What is the difference between method overriding and method overloading?    
39. What are the different ways a method can be overloaded?    
40. Why can't you specify the accessibility modifier for methods inside the interface?    
41. How can we set class to be inherited, but prevent the method from being over-ridden?    
42. What happens if the inherited interfaces have conflicting method names?    
43. What is the difference between a Struct and a Class?    
44. How to use nullable types in  Net?   
45. How we can create an array with non-default values?    
46. What is difference between is and as operators in c#?    
47. What's a multicast delegate?    
48. What are indexers in C#  NET?   
49. What is difference between the "throw" and "throw ex" in  NET?   
50. What are C# attributes and its significance?    
51. How to retrive attribute information at runtime?    
52. How to implement singleton design pattern in C#?    
53. What is the difference between directcast and ctype?    
54. Is C# code is managed or unmanaged code?
55. What are C# I/O Classes? What are the commonly used I/O Classes?
56. What is a Destructor in C#?
57. What is the difference between Continue and Break Statement?
58. What is the difference between finally and finalize block?
59  What is an Escape Sequence? Name some String escape sequences in C#.
60. What are Regular expressions? Search a string using regular expressions?
61. What are the basic String Operations? Explain.
62. What is Parsing? How to Parse a Date Time String?
63. What are Events?
64. How to use Delegates with Events?
65. What are the different types of Delegates?
66. What do Generic Delegates mean?
67. Explain Publishers and Subscribers in Events.
68. What are Synchronous and Asynchronous operations?
69. What is Reflection in C#?
70. What is a Generic Class?

                 Click Here for Part 1            Click Here for Part 3

No comments:

Post a Comment