Generics in C# | Performance | Collections | List vs. Arraylist | C# OOP | # 84

Опубликовано: 19 Июль 2026
на канале: #SimpleCode
210,379
6k

In this lesson, we'll conduct benchmarks to explore how using generics affects code performance in the C# programming language. We'll also compare the performance of a generic List collection and a non-generic ArrayList collection when working with value types.

➡️ My C# course FROM BEGINNER TO PROFESSIONAL on Udemy
👉 https://www.udemy.com/course/simpleco...

✅ SOURCE CODE   / iskhodnyi-kod-k-54691748  

🔹 Telegram channel https://t.me/SergeySimpleCode
🔹 Our VK group https://vk.com/smplcode
✅ Source code access and sponsorship   / simplecode  
✅ https://donatepay.ru/don/SimpleCode
✅ BTC wallet: 12oYfJnvt76wjJbpvfhM41m6KPz6uz4LD4
✅ Subscribe to the channel    / @simplecodeit  

✅ Boxing and Unboxing Value Types in C# | Boxing and Unboxing | C# FROM BEGINNER TO PROFESSIONAL | # 82    • Упаковка и распаковка значимых типов c# | ...  
✅ Generics in C# | C# Generics | Generic Types, Methods, and Classes | C# FROM BEGINNER TO PROFESSIONAL | # 83    • Обобщения в C# | C# generics | generic тип...  
✅ Benchmarkdotnet | How to measure code performance | Benchmark your C# code    • Benchmarkdotnet | как измерить производите...  

#cisharp #simplecode #programminglessons