Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Stop Using Exceptions in C#! Here’s Why and What to Do Instead

Автор: Filip Ekberg

Загружено: 2024-12-05

Просмотров: 3590

Описание:

Exceptions in C# are notoriously slow and should be avoided at all cost! If you are using exceptions for normal flow control, you need to watch this video!

By simply using other patterns and practices you can reduce the memory footprint and greatly improve throughput in your applications. If you are custom to using domain exceptions, you need to rethink your decisions and avoid exceptions!

You won't be able to get rid of exceptions completely, and you should still plan your code as if failures can occur, but avoid using exceptions for normal flow control.

Source code available here: https://github.com/fekberg/avoid-exce...

Check out my course on C# Benchmarking and Profiling: https://www.pluralsight.com/courses/c...

Follow me on X: @fekberg
Follow me on Bluesky: https://bsky.app/profile/fekberg.bsky...
Check out my courses on Pluralsight: https://pluralsight.pxf.io/d1MRK

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the links, I may receive a small commission.

00:00: Introduction
01:25: Alternatives to exceptions
02:15: Result Pattern
03:25: BenchmarkDotNet
04:24: Comparing different runtimes
05:15: Benchmark results
06:40: Extending the benchmarks
07:04: Final results

Stop Using Exceptions in C#! Here’s Why and What to Do Instead

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

C# Nullable reference types – No more null reference exceptions!

C# Nullable reference types – No more null reference exceptions!

Сопоставление с образцом в C#

Сопоставление с образцом в C#

NA ŻYWO | Wystąpienie Premiera Donalda Tuska w Sejmie RP

NA ŻYWO | Wystąpienie Premiera Donalda Tuska w Sejmie RP

🎅 KAROLEK i MIKOŁAJ – Bajka EDUKACYJNA z Zagadkami dla Dzieci | PO POLSKU 🎁🎄

🎅 KAROLEK i MIKOŁAJ – Bajka EDUKACYJNA z Zagadkami dla Dzieci | PO POLSKU 🎁🎄

Asynchronous Programming in .NET

Asynchronous Programming in .NET

Records in C#

Records in C#

Что нового в .NET 9 и C# 13

Что нового в .NET 9 и C# 13

Stuck in Automatic Repair? Fix It WITHOUT Formatting

Stuck in Automatic Repair? Fix It WITHOUT Formatting

👑 Темные пятна на КОРОНЕ. США спрыгнули с роли гегемона. Путин и Моди. Расписки Скороход - Золотарёв

👑 Темные пятна на КОРОНЕ. США спрыгнули с роли гегемона. Путин и Моди. Расписки Скороход - Золотарёв

Cross-Platform Development with Xamarin

Cross-Platform Development with Xamarin

Top Level Programs in C#

Top Level Programs in C#

String Interpolation in C#

String Interpolation in C#

C# vNext (6.0) Overview

C# vNext (6.0) Overview

SKOLIM - Życie Jest Jedno (Official Video) 2025

SKOLIM - Życie Jest Jedno (Official Video) 2025

NOWE OSOBY POJAWIŁY SIĘ na WOJANOWICACH!

NOWE OSOBY POJAWIŁY SIĘ na WOJANOWICACH!

Xamarin Forms with Filip Ekberg

Xamarin Forms with Filip Ekberg

C# 6.0 Overview

C# 6.0 Overview

46. posiedzenie Sejmu - dzień 3. 5 grudnia 2025 r.

46. posiedzenie Sejmu - dzień 3. 5 grudnia 2025 r.

Using WebAPI with Azure Mobile Services

Using WebAPI with Azure Mobile Services

What Is .NET Aspire and Why Is Everyone Talking About It?

What Is .NET Aspire and Why Is Everyone Talking About It?

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]