Why should I pre-order this eBook
The modern developer needs to get information early. We understand this and are eager to deliver this eBook, chapter by chapter, and as soon as possible. Read our Early Access FAQ. Update: 45 Chapters have already been delivered to those who pre-ordered.
Available in multiple reading formats
If you use an e-reader, it's probably a Kindle or an iPad. This 500+ pages eBook will be available as a PDF, ePub and Mobi.
Solid Foundation and Handy Reference Guide
C# has been around for a very long time, but its constant growth means there’s always more to learn. Organized around concepts, this eBook aims to provide a concise, yet solid foundation in C# and .NET. Use these concepts in your next .NET Project OR to crack your next .NET Interview.
The eBook comes with a Limited-time discount. Utilize this offer and pre-order it today!
Table of Contents
Section I - .NET and Common Language Runtime (CLR)
Q1. Which platforms can I develop applications for using the .NET framework?
Q2. How is .NET Core different from the .NET framework?
Q3. What is .NET Standard and why does it matter to me?
Q4. How can I create a .NET Standard library and use it from different runtimes?
Q5. What is the Roslyn compiler and how can I use it?
Q6. How did .NET framework evolve since version 1.0?
Q7. How does the version of .NET and C# affect compatibility?
Q8. What should I know about Garbage Collection in .NET?
Q9. What is the best way to consume third party libraries in .NET?
Q10. What are strong-named assemblies and how do I create them?
Section II - The Type System
Q11. How are value and reference types different?
Q12. What is the difference between classes and structs?
Q13. What is boxing and unboxing?
Q14. Why are nullable types applicable only to value types?
Q15. How are enumeration types supported in C#?
Q16. How can multi-dimensional data be modelled using arrays?
Q17. What are some of the less commonly used C# operators?
Q18. How can method parameters be passed by reference?
Q19. When does using anonymous types make sense?
Q20. What does it mean that C# is a type safe language?
Q21. How can dynamic binding be implemented in C#?
Section III - Classes and inheritance
Q22. What is polymorphism and how to implement it in C#?
Q23. What is the meaning of individual accessibility levels?
Q24. What are the advantages and disadvantages of abstract classes over interfaces?
Q25. When should one explicitly implement an interface member?
Q26. What does the 'new' modifier on a method mean?
Q27. How to correctly override the Equals method?
Q28. When and how to overload operators?
Q29. How do delegates and events differ?
Q30. What's special about the IDisposable interface?
Q31. How do finalizers work?
Q32. What is the purpose of static class members?
Q33. When are extension methods useful?
Q34. What are auto-implemented properties and why are they better than public fields?
Q35. What are expression-bodied members?
Section IV - String manipulation
Q36. When can string interpolation be used instead of string formatting?
Q37. How do locale settings affect string manipulation?
Q38. When can string manipulation performance suffer and how to avoid it?
Section V - Generics and Collections
Q39. How can Generics improve code?
Q40. How to implement a generic method or class?
Q41. What are generic type constraints?
Q42. How does the compiler handle the IEnumerable
Q43. What is covariance and contravariance?
Q44. How to implement a method returning an IEnumerable?
Q45. What advantages do collection classes have over arrays?
Q46. Why are there so many collection classes and which one should I use?
Q47. What problem do concurrent collections solve?
Q48. How are immutable collections different from other collections?
Section VI - LINQ
Q49. What is the basic structure of a LINQ query?
Q50. How is LINQ query syntax translated to C# method calls?
Q51. How to express inner and outer joins using LINQ?
Q52. Which set manipulation operations are available in LINQ?
Q53. How can LINQ query results be aggregated?
Q54. How can LINQ query results be grouped?
Q55. How can LINQ query results be reused without reevaluating?
Q56. When and how is a LINQ query executed and how does this affect performance?
Q57. How are lambda expressions used in LINQ queries?
Q58. When should my function return IQueryable
and when IEnumerable ?
Section VII - Parallel and Asynchronous programming
Q59. What are the differences between concurrent, multithreaded and asynchronous programming?
Q60. Which Timer class should I use and when?
Q61. How to create a new thread and manage its lifetime?
Q62. What is a critical section and how to correctly implement it?
Q63. How to manage multiple threads in .NET framework?
Q64. What abstractions for multithreaded programming are provided by the .NET framework?
Q65. What is the recommended asynchronous pattern in .NET?
Q66. What is an Asynchronous programming model?
Q67. What is an Event-based asynchronous pattern?
Q68. In what order is code executed when using async and await?
Q69. What is the best way to start using asynchronous methods in existing code?
Q70. What are some of the common pitfalls when using async and await?
Q71. How are exceptions handled in asynchronous code?
Q72. What are the best practices for asynchronous file operations?
Section VIII - Serialization and Reflection
Q73. What types of serialization are supported in the .NET framework?
Q74. What is reflection and what makes it possible?
Q75. What are potential dangers of using reflection?
Q76. When to create custom attributes and how to inspect them at runtime?
Section IX - C# 6, 7
Q77. How has C# changed since its first version (C# v1.0 to 7.0)?
Q78. How to upgrade older versions of C# code to C# 6.0?
Q79. How did tuple support change with C# 7?
Q80. What are local functions and when can they be useful?
Q81. What is pattern matching and how is it supported in C# 7?
Q82. What is a discard and when can it be used?
Q83. What improvements for asynchronous programming have been introduced in C# 7?
Q84. How was support for passing values by reference expanded in C# 7?
Q85. How to handle Errors in C# (v6, v7)
Q86. What Functional Programming Features are supported in C#
Section X - A PEEK INTO THE FUTURE
Q87. What are the upcoming new features in C# 8?
Q88. What’s coming up in .NET Core and .NET Standard?