HOME > Development > C# Performance Tricks- How To Radically Speed Up Your Code.

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

  • Development
  • Mar 16, 2025
SynopsisC# Performance Tricks: How To Radically Speed Up Your Code.,...
C# Performance Tricks- How To Radically Speed Up Your Code.  No.1

C# Performance Tricks: How To Radically Speed Up Your Code., available at $84.99, has an average rating of 4.55, with 38 lectures, 13 quizzes, based on 1536 reviews, and has 11063 subscribers.

You will learn about 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! This course is ideal for individuals who are Beginner, intermediate, and advanced C# programmers who want to learn how to write fast code or Developers who are about to take a job interview and need to prepare for performance-related questions or Professionals who are writing a section of mission-critical code in a large C# project It is particularly useful for Beginner, intermediate, and advanced C# programmers who want to learn how to write fast code or Developers who are about to take a job interview and need to prepare for performance-related questions or Professionals who are writing a section of mission-critical code in a large C# project.

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

Summary

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

Price: $84.99

Average Rating: 4.55

Number of Lectures: 38

Number of Quizzes: 13

Number of Published Lectures: 38

Number of Published Quizzes: 13

Number of Curriculum Items: 51

Number of Published Curriculum Objects: 51

Original Price: $99.99

Quality Status: approved

Status: Live

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!
  • Who Should Attend

  • 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
  • Target Audiences

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

    Course Curriculum

    Chapter 1: Introduction

    Lecture 1: Course introduction

    Lecture 2: Meet your instructor

    Lecture 3: Introduction to code optimization

    Lecture 4: Windows, OS/X or Linux?

    Lecture 5: Background Info – About Me

    Chapter 2: Fundamentals of the .NET Framework

    Lecture 1: Section introduction

    Lecture 2: The Stack

    Lecture 3: The Heap

    Lecture 4: Value types

    Lecture 5: Reference types

    Lecture 6: Boxing and unboxing

    Lecture 7: Immutable strings

    Lecture 8: Section recap

    Chapter 3: A crash course in Intermediate Language

    Lecture 1: Section introduction

    Lecture 2: Common Intermediate Language

    Lecture 3: Section recap

    Chapter 4: Basic optimizations: the low-hanging fruit

    Lecture 1: Section introduction

    Lecture 2: How to prevent boxing and unboxing

    Lecture 3: Fast string concatenation

    Lecture 4: Fast collections

    Lecture 5: Fast arrays

    Lecture 6: Throwing and catching exceptions

    Lecture 7: For versus Foreach

    Lecture 8: Section recap

    Chapter 5: Intermediate optimizations

    Lecture 1: Section introduction

    Lecture 2: Fast Garbage Collection – part 1

    Lecture 3: Fast Garbage Collection – part 2

    Lecture 4: Fast delegates

    Lecture 5: Fast class factories

    Lecture 6: Section recap

    Chapter 6: Advanced optimizations

    Lecture 1: Section introduction

    Lecture 2: Arrays on the stack

    Lecture 3: Pointers – part 1

    Lecture 4: Pointers – part 2

    Lecture 5: Background Info – Modifying String Constants

    Lecture 6: Section recap

    Chapter 7: Final words

    Lecture 1: Course recap

    Lecture 2: Bonus Offer

    Instructors

  • C# Performance Tricks- How To Radically Speed Up Your Code.  No.2
    Mark Farragher
    Microsoft Certified Trainer
  • Rating Distribution

  • 1 stars: 3 votes
  • 2 stars: 22 votes
  • 3 stars: 117 votes
  • 4 stars: 606 votes
  • 5 stars: 788 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!