Тёмный
No video :(

C# Flags Enum 

Coding Tutorials
Подписаться 14 тыс.
Просмотров 6 тыс.
50% 1

Опубликовано:

 

21 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@CodingTutorialsAreGo
@CodingTutorialsAreGo Год назад
Flags enums have been around since the beginning of C#. Are there any other old but obscure features that need looking into? Let me know Source code available at: github.com/JasperKent/Flags-Enum Remember to subscribe at ru-vid.com/show-UCqWQzlUDdllnLmtgfSgYTCA And if you liked the video, click the 👍.
@darkmalk94
@darkmalk94 Год назад
Thanks for the tuto it helped. Though I'm reading existing code which is Public enum A{ B = 1
@CodingTutorialsAreGo
@CodingTutorialsAreGo Год назад
@@darkmalk94 The
@anathrax6744
@anathrax6744 2 месяца назад
One of the best tutorials I've ever seen on a specific topic. Kudos
@Jnviana92
@Jnviana92 Год назад
Found your channel recently and I really enjoy the way you present topics. Thank you for all the lessons
@davidwhite2011
@davidwhite2011 Год назад
Another great Friday because of Coding Tutorials!
@AndrewAndZz
@AndrewAndZz Год назад
Really great explanation of the topic! Thanks, Jasper!
@10Totti
@10Totti Год назад
This tutorial is the best!!!!
@marklord7614
@marklord7614 Год назад
If there was a definitive list of C# tutorials, this video belongs in the enum section. It is thorough and well presented. This is why I just subscribed to your channel (actually, your tutorials are top notch, but this just drives the point home.)
@wkurnikumnieniema
@wkurnikumnieniema 9 месяцев назад
Thanks man. I had problem to understand those Flags and related operators, but this tutorial explained it very clearly.
@nickbarton3191
@nickbarton3191 Месяц назад
I've still got legacy code that has If (A & B = B) Then... as it was in Visual Basic. Shudders! Converted most of it to C# now.
@Nora-dg1hx
@Nora-dg1hx 8 месяцев назад
Thank you for this it helped me out big time
@UhGoomba
@UhGoomba 5 месяцев назад
thanks babe
@DavidGilden
@DavidGilden Год назад
Brilliant ✌🏼
@Lonchanick
@Lonchanick 10 месяцев назад
nice!!!!!!!!!!!!!
@libberator5891
@libberator5891 Год назад
Are there any downsides to numbering them instead with bit-shifting: 0, 1 (or 1
@CodingTutorialsAreGo
@CodingTutorialsAreGo Год назад
Very good point. I tend to agree, but in the majority of code I've encountered, the numbers are just hardcoded.
@coderstubechannel
@coderstubechannel Год назад
Great video on C#! I just started my channel dedicated to programming and I'm always looking for inspiration. Can't wait to see more of your content, keep it up!
@tatjanafelde8415
@tatjanafelde8415 Год назад
I'd say avoid. Flags enums are limited to 32-bit when you use int-Enums. When you reach the limit of 32 entries, you have to workaround that limit, like reserving the last flag and using a second enum to hold the next set of data. Just use a simple class with bool Properties. Easy to understand, easy to extend in all sort of different ways. You could also use just ISet as a replacement on any enum. It will do the same and you can store the whole int-Range of entries in it.
Далее
C# Equality and Hashcodes
27:05
Просмотров 8 тыс.
Stackalloc and Spans
30:17
Просмотров 10 тыс.
PEDRO PEDRO INSIDEOUT
00:10
Просмотров 2,2 млн
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Просмотров 999 тыс.
When I met the most famous Cristiano
01:03
Просмотров 17 млн
Arrays vs Lists
12:49
Просмотров 6 тыс.
C# enums 🪐
7:07
Просмотров 68 тыс.
C# Yield Return: What is it and how does it work?
15:09
What Are You Awaiting For?
21:39
Просмотров 4,1 тыс.
How to write "smarter" enums in C#
12:56
Просмотров 134 тыс.
Don't throw exceptions in C#. Do this instead
18:13
Просмотров 256 тыс.
Enums, Flags, and Bitwise operations [C# / DotNet]
9:09