This is part-01 of Top 300 C# & OOPS Interview Questions and Answers. In this e-book you will get 100 C# & OOPS Interview Questions and Answers with practical implementation. Very soon 2nd and 3rd part will be available.
Following Questions you will get in this e-book:
Q1) What is C# ?
Q2) What is .NET and .NET Framework ?
Q3) What is Common Language Runtime(CLR) ?
Q4) What are the functions , components and benefits of CLR ?
Q5) What is common type system (CTS) in .Net framework?
Q6) What is managed and Unmanaged code in c# ?
Q7) What is the differences between const and readonly in c# ?
Q8) What is the differences between ref and out in c# ?
Q9) How to convert int to Enum in c# ?
Q10) What is constructor chaining in c# ?
Q11) Explain HashTable in c# ?
Q12) Explain Dictionary in c# ?
Q14) What is the differences between HashTable and Dictionary in c# ?
Q14) What is GAC and where it is located ?
Q15) What is the differences between Object pooling and Connection pooling ?
Q16) What is the differences between Convert.ToString() and ToString() in c#?
Q17) What are the advantages of using Array in c# ?
Q18) What are the disadvantages of using Array in c# ?
Q19) What is var keyword in c# ?
Q20) When to use var keyword in c# ?
Q21) What is Dynamic keyword in c# ?
Q22) What is the differences between var and dynamic in c#?
Q23) What is interface in c# ?
Q24) What are the benefits of using interface in c# ?
Q25) What is Singleton design pattern in c# ?
Q26) What is Singleton design pattern in c# ? (Practical Implementation)
Q27) What are the benefits of using Singleton design pattern in c# ?
Q28) What are the disadvantages of using Singleton design pattern in c# ?
Q29) What is Enum in c# ?
Q30) What is the differences between struct and Enum in c#?
Q31) What is the differences between String and string in c#?
Q32) How to check whether Dictionary contain any value or not ?
Q33) How to check whether Dictionary contain any key or not ?
Q34) What is async and await in c# ?
Q35) What is AutoMapper in c# ?
Q37) What are the 4 pillars of OOPS ?
Q38) What is abstraction in c# ?
Q39) What is encapsulation in c# ?
Q40) What is the differences between abstraction and encapsulation in c#?
Q41) What is Gang Of Four (GOF) ?
Q42) What is Shallow Copy in c# ?
Q43) What is Deep Copy in c# ?
Q44) Can var hold null value in c# ?
Q45) How to sort dictionary by value in c# ?
Q46) Differences between float, double and decimal in c# ?
Q47) How to calculate someone's age in c# ?
Q48) Differences between int and int.32 in c#?
Q49) Differences between int16, int32 and int64 in c# ?
Q50) What is type safe in c# ?
Q51) Differences between OOPS and Procedural programming in c# ?
Q52) What are the advantages of OOPS ?
Q53) What are the limitations of OOPS ?
Q54) How to prevent class from being inherited in c# ?
Q55) Explain polymorphism and its type ?
Q56) Can we allow a class being inherited but prevent method from being overridden ?
Q57) Why static constructor is parameter less ?
Q58) What is static keyword in c# ?
Q59) Can a static class contain non static members ?
Q60) Can a static class implement the interface ?
Q61) Can we mark static class as sealed ?
Q62) Can we have destructor in static class ?
Q63) Can we pass ref or out parameter to static method ?
Q64) Can a non-static class contain a static constructor ?
Q65) Can a non-static class contain a instance constructor ?
Q66) Can a method return multiple value at a time in c# ?
Q67) What is operator overloading in c# ?
Q68) Is it possible to restrict object creation in c# ?
Q69) What is constructor in c# ?
Q70) What are the different types of constructor in c# ?
Q71) What is default constructor in c# ?
Q72) What is parameterized constructor in c# ?
Q73) What is copy constructor in c# ?
Q74) What is static constructor in c# ?
Q75) What is private constructor in c# ?
Q76) What is constructor overloading in c# ?
Q77) How many constructor can be defined in a class ?
Q78) Can a static class inherited from other class ?
Q79) Can a static class contains any private constructor ?
Q80) Where static class and its members stored in memory ?
Q81) Static method overloading is allowed or not ?
Q82) Can a static constructor be private ?
Q83) Can we define a struct as static ?
Q84) Main() method can be non-static in c# ?
Q85) Can a static method declare local static variable ?
Q86) Differences between is and as operator in c# ?
Q87) Differences between struct and class in c# ?
Q88) What are the nullable type in c#
Q89) Can multiple catch block be executed in c# ?
Q90) Can we have a try block without a catch block in c# ?
Q91) Differences between value type and reference type in c# ?
Q92) What is garbage collection in c# ?
Q93) What is boxing and unboxing in c# ?
Q94) What is the use of Params keyword in c# ?
Q95) Differences between break and continue in c# ?
Q96) What are the literals in c# ?
Q97) What are the different data types in c# ?
Q98) What are the different variables in c# ?
Q99) What are the keywords in c# ?
Q100) What is namespace in c# ?
Thanks & Regards
DotNetFacts