This course will help you speed up your C# code and provides many tricks that every professional developer must know.
What you’ll learn
- Learn the fundamentals of the .NET Framework
- Enjoy a crash course in Common Intermediate Language
- What is boxing and unboxing, and how to avoid it?
- The strange performance gap between 1- and 2-dimensional arrays
- When should you use a StringBuilder?
- Garbage collector assumptions about object size and lifetime
- Using pointers in C# – is it worth the trouble?
- A super-fast way to construct new objects
- … and much more!
- You need a Windows, Mac or Linux laptop with Microsoft Visual Studio, Xamarin Studio or Monodevelop
- You should be a beginner, intermediate, or advanced C# developer
- That’s it!
Last updated: November 17th, 2017 – Added new promo video
Do you know how to write fast C# code?
You may have already enrolled in a C# programming course, or learned the language at school or university. But here’s a sobering fact: most courses only teach you how to write code, not how to write fast code.
The .NET Framework is huge. For any given problem there are many solutions, and it is not always clear which solution is the best choice.
Did you know that adding strings together using the wrong Framework class will slow down your code by a factor of more than two hundred? And if you’re not handling exceptions the right way, your code wil run a mind-boggling thousand times slower than normal.
Slow C# code is a big problem. Slow code on the web will not scale to thousands of users. Slow code will make your user interface unusable. Slow code will make your mobile apps languish in the app store.
Slow code is holding you back!
I can help you.
In a series of short lectures I will cover many common performance bottlenecks. I will introduce each problem, and then write a small test program to measure the baseline performance. Then I will demonstrate each possible solution, and benchmark how each solution measures up.
But there’s more! I will also dive into Common Intermediate Code (CIL), the language that the C# compiler compiles to. If this sounds daunting, don’t worry! The CIL language is actually very easy to read and understand. I’ll take you through the basics in a quick 15-minute lecture.
Being able to read CIL code is a very useful skill that will help you avoid many performance pitfalls and give you a deeper understanding of the .NET Framework.
Why should you take this course?
You should take this course if you are a beginner or intermediate C# developer and want to take your skills to the next level. All my lectures are very easy to follow, and I explain all topics with clear code and many instructive diagrams.
Or you might be working on a critical section of code in a C# project, and need to make your code run as fast as possible. The tips and tricks in this course will help you immensely.
Or maybe you’re preparing for a C# related job interview? This course will give you an excellent foundation to answer any performance-related questions they might throw at you.
30 day money-back guarantee
This course comes with an unconditional, Udemy backed, 30-day money-back guarantee. If you are dissatisfied with the course for any reason, simply request a refund and get your full purchase amount back, no questions asked.
Who this course is for:
- Beginner, intermediate, and advanced C# programmers who want to learn how to write fast code
- Developers who are about to take a job interview and need to prepare for performance-related questions
- Professionals who are writing a section of mission-critical code in a large C# project