Binary in C#: Storing and Displaying Binary Values in 10 minutes or less.

  Рет қаралды 4,369

IAmTimCorey

IAmTimCorey

Күн бұрын

Пікірлер: 15
@lyesmakhloufi5494
@lyesmakhloufi5494 Ай бұрын
It would be interesting to cite real-life use cases in the next episodes. Great video though
@IAmTimCorey
@IAmTimCorey Ай бұрын
Thanks!
@timothytorpy4837
@timothytorpy4837 Ай бұрын
Nice explanation:)
@IAmTimCorey
@IAmTimCorey Ай бұрын
Thanks!
@adam-xt8te
@adam-xt8te Ай бұрын
I use BitArray
@IAmTimCorey
@IAmTimCorey Ай бұрын
👍
@xavierbatlle1828
@xavierbatlle1828 Ай бұрын
Easy! 😉
@IAmTimCorey
@IAmTimCorey Ай бұрын
Great!
@princefowzan
@princefowzan Ай бұрын
What is the point of storing binary values, what is the real world use of it? ☺ ☺
@adam-xt8te
@adam-xt8te Ай бұрын
My example: Clients list with pagination. Changing page causes load another set of data. There's column with checkboxes used for selecting clients. BitArray helped me caching selections low cost.
@IAmTimCorey
@IAmTimCorey Ай бұрын
Anything where you need high efficiency will be a potential candidate. For instance, using an Int32 to store the equivalent of 32 boolean values at once. Unity uses this technique when identifying layers. Each layer is a separate flag. It is incredibly efficient compared to 32 separate variables.
@kewqie
@kewqie Ай бұрын
Another case is when using bit flags, easier to see the values as 0001, 0010, 0100, 1000... instead of 1, 2, 4, 16..., especially when combining them, 1011 is easier to understand than 19.
@tarunrk4099
@tarunrk4099 Ай бұрын
ineffable..!
@IAmTimCorey
@IAmTimCorey Ай бұрын
Thanks!
Learn JavaScript - Full Course for Beginners
3:26:43
freeCodeCamp.org
Рет қаралды 18 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 163 МЛН
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 42 МЛН
C# - Advanced - Class Library
11:37
Systementor Learning
Рет қаралды 25
Binary in C#: Binary Basics in 10 minutes or less.
9:24
IAmTimCorey
Рет қаралды 5 М.
What's New in .NET 9 with Examples
25:02
Nick Chapsas
Рет қаралды 44 М.
Containerize Your C# Application Easily with the .NET CLI
9:57
IAmTimCorey
Рет қаралды 40 М.
Binary in C#: Binary XOR Operator in 10 minutes or less
10:11
IAmTimCorey
Рет қаралды 1,9 М.
How to Measure Time Correctly in .NET
9:43
Nick Chapsas
Рет қаралды 47 М.
5 Good Python Habits
17:35
Indently
Рет қаралды 620 М.
How IDisposable and Using Statements Work Together in C#
10:01
IAmTimCorey
Рет қаралды 33 М.
Stop Using FirstOrDefault in .NET! | Code Cop #021
12:54
Nick Chapsas
Рет қаралды 94 М.
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 163 МЛН