C# Performance Tricks: How To Radically Speed Up Your Code.

Enhance your C# skills with performance tips, tricks, and insights into .NET Framework and CIL to write speedy code and boost efficiency.

  • Overview
  • Curriculum
  • Instructor
  • Review

Brief Summary

This course is all about making your C# code faster! You’ll dive into performance tricks, learn how to tackle common bottlenecks, and even get comfy with CIL to avoid slow code that can wreck web and mobile apps. Let’s speed things up together!

Key Points

  • Learn tricks to speed up your C# code.
  • Discover common performance bottlenecks.
  • Understand and read Common Intermediate Language (CIL).
  • Reduce slow code issues in web and mobile apps.
  • Prepare for performance-related questions in job interviews.

Learning Outcomes

  • Boost your C# coding speed effectively.
  • Identify and fix common performance issues.
  • Gain a basic understanding of Common Intermediate Language (CIL).
  • Prepare for real-world job interviews with key performance knowledge.
  • Learn how to avoid boxing and unboxing.

About This Course

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

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.

  • 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?

Instructor

Profile photo of Mark Farragher
Mark Farragher

Mark Farragher is a blogger, investor, serial entrepreneur, and the author of 12 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...

Review
4.9 course rating
4K ratings
ui-avatar of Nguyen Ton That Cam
Nguyen T. T. C.
4.5
7 months ago

sưd

  • Helpful
  • Not helpful
ui-avatar of Maciej Rydzak
Maciej R.
3.0
9 months ago

A crucial part of .net memory management is Span. It wasn't described in this course however, it has a major impact on application performance.

  • Helpful
  • Not helpful
ui-avatar of Andrew Korell
Andrew K.
5.0
9 months ago

Quick and sticks to the necessary details. Gives good pointers on when to use and when not to use.

There are a couple exercises that are a bit challenge and would benefit from a solution key.

  • Helpful
  • Not helpful
ui-avatar of Ubaidullah Effendi-Emjedi
Ubaidullah E.
5.0
11 months ago

Really good content. The explanation is clear and the examples are easy to follow. The quiz before each section is a good gauge on how much you really know.

  • Helpful
  • Not helpful
ui-avatar of Nathan Craver
Nathan C.
5.0
1 year ago

Explanations are very clear and thorough. Easy to follow.

  • Helpful
  • Not helpful
ui-avatar of Anonymized User
Anonymized U.
3.5
1 year ago

I thought it was going well but now I'm answering this question.

  • Helpful
  • Not helpful
ui-avatar of JEREMY BURNS
Jeremy B.
4.5
1 year ago

I really liked this class except for the Matrix problem because what was asked for looked like to re-write the Multiply class "Write a method Multiply" but the solution had nothing to do with the Multiply method but with the Matrix Class.

  • Helpful
  • Not helpful
ui-avatar of Luca
Luca
5.0
1 year ago

.

  • Helpful
  • Not helpful
ui-avatar of Vinit Mishra
Vinit M.
4.0
1 year ago

good

  • Helpful
  • Not helpful
ui-avatar of Tania Roy
Tania R.
4.5
2 years ago

The course was really good and I enjoyed learning some things I did not know. I knocked a half a star since some of the material is older and because the last bonus discussion was just and advertisement.

  • Helpful
  • Not helpful
Leave A Reply

Your email address will not be published. Required fields are marked *

Ratings

Courses You May Like

Lorem ipsum dolor sit amet elit
Show More Courses