C# Performance Tricks: How To Radically Speed Up Your Code. (Udemy.com)

This course will help you speed up your C# code and provides many tricks that every professional developer must know.

Created by: Mark Farragher

Produced in 2020

icon
What you will 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!

icon
Quality Score

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 92 / 100

icon
Course Description

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

*Some courses are excluded from this sale. Coupon not working? If the link above doesn't drop prices, clear the cookies in your browser and then click this link here.
Also, you may need to apply the coupon code directly on the cart page to get the discount.

Coupon Code

icon
Instructor Details

Mark Farragher

Mark Farragher is a blogger, investor, serial entrepreneur, and the author of 11 successful IT courses on Udemy and other marketplaces. His career spans over two decades during which Mark has been a Founder twice and CTO three times, and has launched two lean startups in The Netherlands.
Mark became a Microsoft Certified Trainer in 2005 and started training classes in .NET development, web design, and Microsoft back-office servers. Today he uses his extensive knowledge of IT to help CTO's, architects, and other tech professionals with their leadership, communication, and technical skills.
Mark has MCSA and MCSD certifications from Microsoft and is a certified Microsoft Trainer and Scrum master. He speaks fluent English, Dutch, and German.

icon
Reviews

4.6

99 total reviews

5 star 4 star 3 star 2 star 1 star
% Complete
% Complete
% Complete
% Complete
% Complete

By Felipe Alvarez Ortiz on a week ago

Excelente curso, bien didactico y con las bases teoricas completas en videos, Buen profesor completamente recomendado

By Thomas Govier on 4 weeks ago

as with all of these courses (which I now look for by this particular instructors name, not by topic) it was well thought out, well presented, clear, concise and easy to follow

By Ali Aligiller on 2 months ago

it is great course,one note: unmanaged memory should be explained a little bit detailed.

By Markus Palm on 6 months ago

I feel like more than anything else, this course helped me understand how .net operates, rather than just being a magic box that make my code work.

By Zach Clay on 6 months ago

This course was fantastic. I've been working with C# for a few years now, but it's all been self-taught. I was able to follow along with most of the lectures really well, and I learned a lot of great things to be able to improve my work. Very well done!

By Edvinas Misevicius on a month ago

Maybe it's just me, but haven't found many tips / tricks to improve my code. All of the examples are made with the simplest types available in the language. Course could really profit from getting a few "fake-real" optimization challenges / assignments as a homework, so we could feel and see:1. The benefit of knowledge offered on the course (see application getting faster);2. Real life examples of optimization is what to expect.

By Tim Witort on 3 months ago

Slow delivery. Do yourself a favor and playback at 1.25x or 1.5x speed. Some good performance information, but some examples are are of limited use or not very "real world."

By Roman Simuta on 2 months ago

it could be nice to show a few performance measurement tools

By Steve Hall on 4 months ago

A quick course on how to speed up my programs.

By Charles Parcell on 5 months ago

Go content so far. Only issue I am having is falling asleep. Voice is very regimented, which leads to a monotone-like experience. "Long" gaps of silence between sentences and paragraphs amplify this affect.

By Yogesh Gaur on 5 months ago

yes, the course content and delivery is great and useful to me.

By Martin Gay on 4 months ago

Excellent detailed course - thank you