esasy
1. What is the difference between constants and read-only variables.
esasy
2. Why to use “finally” block in C#?
esasy
3. What are the fundamental OOP concepts?
esasy
4. Can we have try without catch block?
esasy
5. Which of the following is correct about System.Text.StringBuilder and System.String?
esasy
6. What is the static class?
esasy
7. What is the namespaces?
esasy
8. What is an Interface in C# ?
esasy
9. What is an Object?
esasy
10. What is the difference between i++ and ++i?
esasy
11. What is LINQ?
esasy
12. How do I convert a string to an int in C#?
esasy
13. What is the difference between 'while' loop and 'for' loop?
medium
14. lock How to reverse a string?
medium
15. lock How to find if the given string is a palindrome or not?
medium
16. lock How to reverse the order of words in a given string?
medium
17. lock How to reverse each word in a given string?
medium
18. lock How to count the occurrence of each character in a string?
medium
19. lock How to remove duplicate characters from a string?
medium
20. lock How to perform Left circular rotation of an array?
medium
21. lock How to find the sum of digits of a positive integer?
medium
22. lock What is Abstract Class in C#?
medium
23. lock What are the different access modifiers?
medium
24. lock What is constructor overloading in C#?
medium
25. lock Why to use Nullable Coalescing Operator (??)
medium
26. lock What are the different types of classes in C#?
medium
27. lock What are Boxing and Unboxing?
medium
28. lock What is Tuples?
medium
29. lock Why would a class be declared as abstract?
medium
30. lock Why we should use generics?
medium
31. lock What is a generic class?
medium
32. lock What is dynamic keyword?
medium
33. lock What are the difference between Structure and Class?
medium
34. lock What is the difference between method overriding and method overloading?
medium
35. lock What is difference between the “throw” and “throw ex” in .NET?
medium
36. lock The application that includes class names, field names, method names, and method parameters is called _________?
medium
37. lock What's the difference between Object, Dynamic and Var?
medium
38. lock How to create an extension method?
medium
39. lock What is the difference between “as” and “is” operators?
medium
40. lock Why switch works faster than if-else?
medium
41. lock How to reverse string?
medium
42. lock What are constant and read-only variables in C#?
medium
43. lock What are the different types of assemblies?
medium
44. lock What are the differences between Interface and Abstract class?
medium
45. lock What are the differences between a struct and a class in C#?
medium
46. Which of the following characteristics of an OOP language restricts behavior so that an object can only perform actions that are defined for its class?
medium
47. lock How to Force Garbage Collection?
medium
48. lock What is the difference between int.Parse,Convert.ToInt32 and int.TryParse?
medium
49. lock How to return multiple values from a function in C#?
medium
50. lock How to set Auto-Property a default value?
medium
51. lock What's the difference between the 'ref' and 'out' keywords?
medium
52. lock How can I convert comma separated string into a List<int>?
medium
53. lock How to cast string to enum?
hard
54. lock Explain Bubble Sort Algorithm In C#
hard
55. lock When will you use struct instead of class?
hard
56. lock Why we need reflection in c#?
hard
57. lock What is the difference between reflection and dynamic?
hard
58. lock What are the different access modifiers?
hard
59. lock Whats is the copy constructor?
hard
60. lock What is the reference type?
hard
61. lock How does CLR execute code?
hard
62. lock What is managed code?
hard
63. lock What is Operator Overloading and how does it work?
hard
64. lock Explain nullable types in C#.
hard
65. lock What is the custom attribute?
hard
66. lock What is the Difference between Singleton Class and Static Class?
hard
67. lock How and when are c# Static members disposed?
hard
68. lock Which of the following is true about RuntimeException and its subclasses?
hard
69. lock Which of the following types cannot be used as the parameter for a switch statement?
hard
70. lock What are the advantages using LINQ than stored procedure?
hard
71. lock When to use Tuples in C#?
hard
72. lock What is difference between the throw and throw ex?
hard
73. lock How to optimize C# code?
hard
74. lock What's the difference between IEnumerable<T> and List<T> ?