Why all your classes should be sealed by default in C#

Nick Chapsas September 12, 2022
Video Thumbnail

About

No channel description available.

Video Description

Check out my courses: https://dometrain.com Become a Patreon and get source code access: https://www.patreon.com/nickchapsas Hello everybody I'm Nick and in this video I will explain why you should be sealing all your C# classes by default. We will take a look at the functional aspect of the sealing feature and then take a look at the performance as well. Link to analyzer issue: https://github.com/dotnet/runtime/issues/49944 Don't forget to comment, like and subscribe :) Social Media: Follow me on GitHub: http://bit.ly/ChapsasGitHub Follow me on Twitter: http://bit.ly/ChapsasTwitter Connect on LinkedIn: http://bit.ly/ChapsasLinkedIn Keep coding merch: https://keepcoding.shop #csharp #dotnet

Upgrade Your Gear Essentials

AI-recommended products based on this video

Loading...
koolehaoda L Shape Camera Bracket, Video Vertical Shooting Quick Release Plate L Stand Arca Swiss Compatible for Tripod Head Ballhead DSLR Camera

koolehaoda L Shape Camera Bracket, Video Vertical Shooting Quick Release Plate L Stand Arca Swiss Compatible for Tripod Head Ballhead DSLR Camera

(87)
$23.98
FREE delivery Thu, Jun 19 on your first order
Loading...
SmallRig FX3 / FX30 HawkLock Quick Release Camera Cage Kit for Sony with Cable Clamp, Bulit-in QR Cold Shoe NATO Rail/QR Plate for Arca, Modular Design Compatible with Original XLR Handle - 4770

SmallRig FX3 / FX30 HawkLock Quick Release Camera Cage Kit for Sony with Cable Clamp, Bulit-in QR Cold Shoe NATO Rail/QR Plate for Arca, Modular Design Compatible with Original XLR Handle - 4770

(35)
$124.94
FREE delivery Thu, Jun 19
Loading...
SmallRig ZV-E1 Camera Baseplate for Sony ZV-E1, Built-in Cold Shoe Mount and QR Plate (for Arca) Quick Switch Between Tripod and Stabilizer for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro - 4314

SmallRig ZV-E1 Camera Baseplate for Sony ZV-E1, Built-in Cold Shoe Mount and QR Plate (for Arca) Quick Switch Between Tripod and Stabilizer for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro - 4314

(3)
$44.99
FREE delivery Thu, Jun 19
Loading...
SmallRig ZV-E10 II Base Plate for Sony Alpha ZV-E10 II, Bottom Mount Plate with Quick-Release Plate for Arca, QD Socket, Hand Strap Hole, 1/4"-20 Threaded Hole - 4950

SmallRig ZV-E10 II Base Plate for Sony Alpha ZV-E10 II, Bottom Mount Plate with Quick-Release Plate for Arca, QD Socket, Hand Strap Hole, 1/4"-20 Threaded Hole - 4950

(13)
$37.99
FREE delivery Sat, Jun 21
Loading...
NEXPOW Car Jump Starter,Car Battery Jump Starter Pack 1500A Peak Q10S for Up to 7.0L Gas and 5.5L Diesel Engine12V Auto Battery Booster,Jumper Cables,Portable Lithium Jump Box with LED Light/USB QC3.0

NEXPOW Car Jump Starter,Car Battery Jump Starter Pack 1500A Peak Q10S for Up to 7.0L Gas and 5.5L Diesel Engine12V Auto Battery Booster,Jumper Cables,Portable Lithium Jump Box with LED Light/USB QC3.0

(4,578)
$71.99
FREE delivery Sat, Jan 3
2K+ bought in past month
Loading...
TERRAMASTER F8 SSD Plus NAS - 8Bay All SSD NAS Storage Core i3 8-Core 8-Thread CPU, 16GB DDR5 RAM, 10GbE Port, 8 Heat Sinks Included, Palm-Sized Network Attached Storage Peak Performance (Diskless)

TERRAMASTER F8 SSD Plus NAS - 8Bay All SSD NAS Storage Core i3 8-Core 8-Thread CPU, 16GB DDR5 RAM, 10GbE Port, 8 Heat Sinks Included, Palm-Sized Network Attached Storage Peak Performance (Diskless)

(35)
$1,099.99
FREE delivery Mon, Aug 11
Loading...
ZDZA Electric Bike, 1000W Peak Motor, 26” Electric Mountain Bike, 35km/h &65 km Max Range Ebike for Adults, Electric Bicycle for Commute, Colorful LCD Display & 7 Speed
Best Seller

ZDZA Electric Bike, 1000W Peak Motor, 26” Electric Mountain Bike, 35km/h &65 km Max Range Ebike for Adults, Electric Bicycle for Commute, Colorful LCD Display & 7 Speed

(72)
$799.99
FREE delivery Jul 8 - 10
200+ bought in past month
Loading...
TAURI for iPhone 17 Pro Max Case 6.9" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

TAURI for iPhone 17 Pro Max Case 6.9" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

(0)
$10.76
FREE delivery Thu, Oct 16 on your first order
2K+ bought in past month
Loading...
Ailun 3 Pack Screen Protector for iPhone 17 [6.3 inch] + 3 Pack Camera Lens Protector with Installation Frame,Sensor Protection,Dynamic Island Compatible,Case Friendly Tempered Glass Film

Ailun 3 Pack Screen Protector for iPhone 17 [6.3 inch] + 3 Pack Camera Lens Protector with Installation Frame,Sensor Protection,Dynamic Island Compatible,Case Friendly Tempered Glass Film

(216,515)
$9.67
Prime
2K+ bought in past month
Loading...
TAURI for iPhone 17 Pro Case 6.3" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard
Best Seller

TAURI for iPhone 17 Pro Case 6.3" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

(61,696)
$10.76
Prime
2K+ bought in past month
Loading...
Ailun 3 Pack Screen Protector for iPhone 17 Pro [6.3 inch] + 3 Pack Camera Lens Protector with Installation Frame,Sensor Protection,Dynamic Island Compatible,Case Friendly Tempered Glass Film

Ailun 3 Pack Screen Protector for iPhone 17 Pro [6.3 inch] + 3 Pack Camera Lens Protector with Installation Frame,Sensor Protection,Dynamic Island Compatible,Case Friendly Tempered Glass Film

(216,323)
$9.67
Prime
Loading...
koolehaoda Professional Gimbal Head Tripod Head Aluminum Alloy Heavy Duty 360° Panoramic with Arca-Swiss Standard 1/4 inch QR Plate for DSLR Cameras up to 55.11lbs/25kg. (GH-3)

koolehaoda Professional Gimbal Head Tripod Head Aluminum Alloy Heavy Duty 360° Panoramic with Arca-Swiss Standard 1/4 inch QR Plate for DSLR Cameras up to 55.11lbs/25kg. (GH-3)

(63)
$168.98
FREE delivery Thu, Jun 19
Loading...
KiBcsLic Video Recording Microphone,Condenser,Unidirectional Interview Meeting Portable XLR Interface Photography Camera Microphone

KiBcsLic Video Recording Microphone,Condenser,Unidirectional Interview Meeting Portable XLR Interface Photography Camera Microphone

(0)
$52.69
FREE delivery Aug 22 - Sep 5
Loading...
Selfie Stick, 7 Section Adjustable Action Camera Extension Pole with 1/4in Thread and Screw Hole, 23.5 to 120cm Portable Extension Rod for Panoramic Camera

Selfie Stick, 7 Section Adjustable Action Camera Extension Pole with 1/4in Thread and Screw Hole, 23.5 to 120cm Portable Extension Rod for Panoramic Camera

(0)
$14.49
FREE delivery Aug 27 - Sep 17
Loading...
4K HD Digital Camera, 18X Zoom Selfie Vlogging Camera Autofocus with 2.8 Inch LCD Display, Portable 64MP Compact Video Camcorder Anti Shake for Travel (Black)

4K HD Digital Camera, 18X Zoom Selfie Vlogging Camera Autofocus with 2.8 Inch LCD Display, Portable 64MP Compact Video Camcorder Anti Shake for Travel (Black)

(0)
$49.26
FREE delivery Aug 19 - 29
Loading...
Digital Camera,3in LCD Screen Portable Camera,18X Zoom HD SLR Long Focal Length Camera with Large Capacity Battery for Photography (Standard Type)

Digital Camera,3in LCD Screen Portable Camera,18X Zoom HD SLR Long Focal Length Camera with Large Capacity Battery for Photography (Standard Type)

(3)
$56.76
FREE delivery Aug 27 - Sep 18
Loading...
Long Range Super Endurance Foldable Drone with Camera for Beginners–36+ min Flight Time, WiFi FPV Quadcopter with 2K HD Camera, Brushless Motor, Auto Hover, Follow Me (2 Batteries)

Long Range Super Endurance Foldable Drone with Camera for Beginners–36+ min Flight Time, WiFi FPV Quadcopter with 2K HD Camera, Brushless Motor, Auto Hover, Follow Me (2 Batteries)

(206)
$88.98
FREE delivery Sun, Nov 30
1K+ bought in past month
Loading...
NAFYRE N11 PRO GPS Drone with Camera for Adults 4K UHD, 90 Min Long Flight Time, Long Control Range, Auto Return, Follow Me, Brushless Motor, 5G FPV RC Quadcopter for Beginners

NAFYRE N11 PRO GPS Drone with Camera for Adults 4K UHD, 90 Min Long Flight Time, Long Control Range, Auto Return, Follow Me, Brushless Motor, 5G FPV RC Quadcopter for Beginners

(108)
$149.98
FREE delivery Wed, Aug 20
100+ bought in past month
Loading...
Super Enduring Brushless Motor Drone with Camera for Beginners, CHUBORY A68 WiFi FPV Quadcopter with 2K HD Camera, Auto Hover, 3D Flips, Headless Mode, Trajectory Flight

Super Enduring Brushless Motor Drone with Camera for Beginners, CHUBORY A68 WiFi FPV Quadcopter with 2K HD Camera, Auto Hover, 3D Flips, Headless Mode, Trajectory Flight

(1,063)
$89.99
FREE delivery Wed, Aug 20
Loading...
2 Pack Micro Memory Card 128 GB with Adapter, C10/U3/UHS-I/A1, TransFlash Card, TF Card for Camera, Smartphone, Tablet, Drone (Red 128GB *2)

2 Pack Micro Memory Card 128 GB with Adapter, C10/U3/UHS-I/A1, TransFlash Card, TF Card for Camera, Smartphone, Tablet, Drone (Red 128GB *2)

(1,022)
$28.49
FREE delivery Sun, Aug 10 on your first order
500+ bought in past month
Loading...
Frizzlife SW10 Under Sink Water Filter System, NSF/ANSI 53&42 Certified, Reduces 99.99% Lead, Chlorine, Bad Taste & Odor, Direct Connect Under Counter Drinking Water Filter, High Capacity, 0.5 Micron

Frizzlife SW10 Under Sink Water Filter System, NSF/ANSI 53&42 Certified, Reduces 99.99% Lead, Chlorine, Bad Taste & Odor, Direct Connect Under Counter Drinking Water Filter, High Capacity, 0.5 Micron

(6,458)
$99.99
FREE delivery Tue, Sep 23
Loading...
iSpring RCC7, NSF Certified, High Capacity Under Sink 5-Stage Reverse Osmosis Water Filter, RO Drinking System, 75 GPD, Brushed Nickel Faucet, Patented Top-Mounted Faucet Design for Easy Installation

iSpring RCC7, NSF Certified, High Capacity Under Sink 5-Stage Reverse Osmosis Water Filter, RO Drinking System, 75 GPD, Brushed Nickel Faucet, Patented Top-Mounted Faucet Design for Easy Installation

(19,760)
$316.00
FREE delivery Tue, Sep 23
100+ bought in past month
Loading...
Waterdrop RF15-UF 0.01 Micron Replacement Filter Cartridge for 15UA/15UA-UF/15UB/15UB-UF/15UC/15UC-UF Under Sink Water Filter, Reduces Lead, Chlorine, Bad Taste & Odor, 16K Gallons High Capacity

Waterdrop RF15-UF 0.01 Micron Replacement Filter Cartridge for 15UA/15UA-UF/15UB/15UB-UF/15UC/15UC-UF Under Sink Water Filter, Reduces Lead, Chlorine, Bad Taste & Odor, 16K Gallons High Capacity

(1,161)
$53.99
FREE delivery Tue, Sep 23
200+ bought in past month
Loading...
Electric Cordless Hair Straightener Brush, Portable Straightening Brush for Women, Mini Hair Straightener for Travel, High Capacity Rechargeable Fast Heating Straight Comb, 8x2x1.8inch, 0.9lb, Gray/Red Rose

Electric Cordless Hair Straightener Brush, Portable Straightening Brush for Women, Mini Hair Straightener for Travel, High Capacity Rechargeable Fast Heating Straight Comb, 8x2x1.8inch, 0.9lb, Gray/Red Rose

(231)
$31.99
FREE delivery Wed, Aug 20 on your first order
200+ bought in past month