C# in Depth: Puzzles, Gotchas, Questions at Interviews (Udemy.com)
C# Tips and Traps: learn things you didn’t know and become a more robust advanced C# programmer
Created by: Engineer Spock
Last updated July 2020
What you will learn
- Write code with more confidence
- Avoid Date and Time Pitfalls
- Avoid LSP Violations
- Write more robust code
- Pass C# Interview
- Understand how C# arithmetic works
How it compares
Against the other 194 rated Udemy courses in C# on CourseDuck:
- Rating4.3 out of 5higher than 26% of them
- Reviews203#121 of 195 by number of reviews
- Length4.5 hoursshorter than 59% of them
- Last updatedJuly 2020earlier than 61% of them
Quality Score
Overall Score : 86 / 100
Course Description
Build a solid foundation in C# learning odd cases related to how the language is designed
This course contains mostly practical puzzles learning which you get a better C# developer. You can find out on the Internet tons of impractical puzzles which don't make you a better C# developer. This is not about this course. Yes, of course, even impractical puzzles sometimes are helpful especially if you're preparing for a C# interview. However, I bet on puzzles which teach you the thing you absolutely need to understand. Indeed, this course deepens your understanding of C#. Apart from that, you'll learn some very important things like the problem of types substitution. You'll learn about the fundamental problems related to processing date and time values. Believe me, you'll be astonished!
This course is built in a manner of a game. I'll show you code examples in Visual Studio and ask to answer the question related to that code example. You'll have some time to come up with your own answer and after that we continue. Puzzles, gotchas and cautionary tales are presented here to frighten and inspire you! Regardless of your current skills, you'll remember things you've forgotten, learn things you didn't know and become a more robust programmer.
So, this course is "must see" for anyone who wants to improve his knowledge of C#.
Here is my Teaching Approach
No fluff, no ranting, no beating the air. I respect your time. The course material is succinct, yet comprehensive. All important concepts are covered. Particularly important topics are covered in-depth.
Take this course, and you will be satisfied.
Content and Overview
This course is aimed at all kind of developers. It provides solid theoretical base reinforced by the practical material.
In short, this advanced C# course covers the following topics:
- The evilness of the mutable structures. You'll see several examples when mutable structures demonstrate the unexpected behavior.
- Generics and arrays including specializations, constraints on generics, variance and covariance, Liskov substitution principle and more
- The pitfalls in arithmetic: how floating-point numbers are implemented, how to compare them, how arithmetic overflow behaves with different types, how rounding works, the difference between decimal and money
- Collections and LINQ: how to alter an existing list, the deferred execution of LINQ expressions, the peculiarities of closures within for and foreach loops, list conversion
- Methods and Overloading: overloading base methods, method hiding, when to prefer property over method; the reasons on why to avoid optional parameters, implementing abstract classes
- Date and Time puzzles: concepts related to dates and times including how a computer stores time, UTC and GMT, time zones, global and local perspectives; time-zone related puzzles, roundtrips, arithmetic on dates, how to calculate the age.
- FAQ at C# Interviews: abstract classes versus interfaces, how to implement the Dispose pattern, what is the difference between encapsulation and information hiding, encapsulation in practice, strings interning, constant versus read-only fields, lock versus monitor, how to rethrow exceptions, when to use StringBuilder instead of string
- And yet a short section of miscellaneous puzzles Enroll and start an exciting journey learning C# puzzles!
- Anyone who wants to improve his C#
- Anyone who wants to prepare for a C# interview
Instructor Details
- 4.3 Rating
203 Reviews
Engineer Spock
I'm thankful enough for that I love what I do.
I began my career as a postgraduate student participating in Microsoft ImagineCup contest.
I've been working with .NET platform since 2003. I've been professionally architecting and implementing software for nearly 7 years, primarily based on .NET platform. I'm passionate about building rich and powerful applications using modern technologies. I'm a certified specialist in Windows Applications and Service Communication Applications by Microsoft. I'm one of the coordinators of the MSK.NET User Group in Moscow.
"If it's work, we try to do less. If it's art, we try to do more." - Seth Godin.
What I can say is that software is my art.
More courses by Engineer Spock
Algorithms and Data Structures in C#: Complete Tutorial (2026)
4.6 (2,310 Reviews)
Provider: Udemy
Time: 18.5h
$64.99
Learn Enterprise WPF with XAML from Scratch (2020)
4.1 (1,503 Reviews)
Provider: Udemy
Time: 5.1h
$11.99
Software Architecture: Meta and SOLID Principles in C# (2020)
4.3 (1,310 Reviews)
Provider: Udemy
Time: 4.8h
$11.99
Master the Art of Writing Clean Code in C# (2020)
4.5 (1,231 Reviews)
Provider: Udemy
Time: 7.2h
$79.99
More C# courses
C# Developers: Double Your Coding Speed with Visual Studio (2018)
4.7 (4,035 Reviews)
Provider: Udemy
Time: 2.2h
$13.99
Object Oriented Programming with C# - Beginner to Advanced (2020)
4.7 (2,063 Reviews)
Provider: Udemy
Time: 5.6h
$64.99
Learn Game Development with C# Programming and MonoGame! (2025)
4.7 (1,094 Reviews)
Provider: Udemy
Time: 6.6h
$12.99
Reviews
Excellent course!!
The instructor is very knowledgeable about C# programming and is able to explain how the concepts maybe presented in a interview question and answer situation.
The presentation is very detailed, yet concise which is greatly appreciated on a topic which could lend a instructor to be to overly verbose and euphemistic (indirect).
I feel ready to implement the knowledge, techniques and practices presented to better prepare for and perform in, programming interviews.
It was "ok" - The lectures provided and examples gone through are extremely specific and not as much useful in day-to-day / real world scenarios. That being said, the gotchas are good to know.
Instructor has a very deep understanding of the intricacies of the C# language. Very detailed and more than enough opportunities to test your knowledge during the presentation.
Elias va au fond des choses. Il partage avec ses apprenants des concepts du langage C# peu connus. Il illustre les concepts et distille au passage des conseils utiles pour franchir les paliers supérieurs pour un développeur. Ses développements profonds sur l'architecture logicielle débordent les frontières du langage C# et sont utiles quelque soit le langage ou le cadre de développement utilisé. Il ne manque pas de s'appuyer au passage sur des autorités connues du génie logiciel Bertrand Meyer, Uncle Bob, Mark Seeman etc. Ce qui confère encore plus de crédibilité à ses cours. Merci Elias.
This was a good course and helped with my self-esteem to know that there are plenty of tricky parts in the C# language.
It's a great and must-have course, most of the things are new and I learned a lot, however, lectures could be better if the instructor uses some highlighting tool to highlight the code, Also expecting some more examples. I personally feel some time is a long continuous less interactive lecture which hard to follow along.












