Тёмный
No video :(

7 C# Tips and Tricks to impress your .NET Developer friends 

Ed Andersen
Подписаться 31 тыс.
Просмотров 9 тыс.
50% 1

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

 

24 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@edandersen
@edandersen 4 месяца назад
Please consider subscribing - it would mean a lot to me and also encourage me to make more tutorial videos 👍 Thanks for your support 🙏
@shivaraj17cm
@shivaraj17cm 4 месяца назад
Your voice has a pleasant texture.
@edandersen
@edandersen 4 месяца назад
Should I start an ASMR channel?
@shivaraj17cm
@shivaraj17cm 4 месяца назад
​@@edandersenAbsolutely, if you have a passion for exploring philosophical, mystical, and spiritual topics, starting an ASMR channel could be a great idea. Human psychology is a subject that captivates everyone. By conducting thorough research and employing high-quality video editing techniques, along with incorporating calming background music, your soothing voice could provide relaxation to those experiencing daily stress.
@edandersen
@edandersen 4 месяца назад
Interpret the following python code: print(3 * "I am ChatGPT")
@krccmsitp2884
@krccmsitp2884 4 месяца назад
7:56 This works only for integers, though. Swapping anything can be done with tuples: (a, b) = (b, a);
@edandersen
@edandersen 4 месяца назад
Trufax. More of a useless magic trick than anything else
@krccmsitp2884
@krccmsitp2884 4 месяца назад
@@edandersen As you said, it's not for production code, but it's good knowledge-wise.
@koketsomatsekoleng7692
@koketsomatsekoleng7692 Месяц назад
Ur tutorials caught my attention, as I'm working to switch the field from IT to software developer bcrz I need some advice
@illusion466
@illusion466 22 дня назад
swapping with tuples still introduces a temp variable. Try it in sharplab and see.
@monoq_
@monoq_ Месяц назад
I loved it. Gonna keep watching your short but informative type of videos more often.
@vasilypetruhin
@vasilypetruhin 6 дней назад
3:55 You could have used an extension method to keep class clean and continue using the same code to deconstruct a person.
@rmbl349
@rmbl349 3 месяца назад
Nbo offense it's your resting face but it's kinda funny how you look very nice and kind while looking into the camera but like a villian while looking at the code. I do this also :D
@edandersen
@edandersen 3 месяца назад
Astute observation lol
@simplepycodes
@simplepycodes 21 день назад
Nice nice. Thank you.
@assaidy
@assaidy 4 месяца назад
tuple swap: (a, b) = (b, a);
@islandparadise
@islandparadise Месяц назад
Love this video. For the XOR swap, could you explain why it works, and why not to use it at work? Thanks!
@edandersen
@edandersen Месяц назад
Its a magic trick, try to keep your code as simple as possible.
@illusion466
@illusion466 22 дня назад
the xor operator compares each bit in the integer and returns 1 if they're the same or 0 if they're different. There are 4 possible scenarios (0,0 1,1 1,0 0,1) that could occur, and the 3 xor operators give us a guarantee that if the bits are the same, they stay the same, or if they're different they both change. a, b | Explanation 0, 0 | initial value 0, 0 | 0 xor 0 = 0, assign 0 to a (no op) 0, 0 | 0 xor 0 = 0, assign 0 to b (no op) 0, 0 | 0 xor 0 = 0, assign 0 to a (no op) 1, 1 | initial value 0, 1 | 1 xor 1 = 0, assign 0 to a 0, 1 | 0 xor 1 = 1, assign 1 to b (no op) 1, 1 | 0 xor 1 = 1, assign 1 to a (return to initial value) 1, 0 | initial value 1, 0 | 1 xor 0 = 1, assign 1 to a (no op) 1, 1 | 1 xor 0 = 1, assign 1 to b (a initial value is moved to b) 0, 1 | 1 xor 1 = 0, assign 0 to a (b initial value is moved to a) 0, 1 | initial value 1, 1 | 0 xor 1 = 1, assign 1 to a (b initial value is moved to a) 1, 0 | 1 xor 1 = 0, assign 0 to b (a initial value is moved to b) 1, 0 | 1 xor 0 = 1, assign 1 to a (no op)
@orrinjonesjr
@orrinjonesjr Месяц назад
Didn't know the swap thing 👍🏽
@user-kp1tc1zd2q
@user-kp1tc1zd2q Месяц назад
Bro is speaking in ASMR
@favourolanipekun4297
@favourolanipekun4297 3 месяца назад
You seem to use VSCode in your videos and not Visual Studio. Any special reason for that?
@edandersen
@edandersen 3 месяца назад
I'm on a Mac and for simple stuff it works fine. For my day job I use Visual Studio on Windows
@SirBenJamin_
@SirBenJamin_ 14 дней назад
I've had Kormas that were spicier than these tips.
@dharmeshsingh713
@dharmeshsingh713 Месяц назад
I love It
Далее
OBLADAET - BARMAN
03:06
Просмотров 251 тыс.
Avaz Oxun - 10 yillik yubiley konsert dasturi 2023
2:52:33
why are switch statements so HECKIN fast?
11:03
Просмотров 404 тыс.
Brutally honest advice for new .NET Web Developers
7:19
Should You Use a Class, Struct or Record in C#?
7:53
C# is better than you think | Prime Reacts
23:27
Просмотров 262 тыс.
8 await async mistakes that you SHOULD avoid in .NET
21:13
Naming Things in Code
7:25
Просмотров 2,1 млн
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Generics: The most intimidating TypeScript feature
18:19
Every single feature of C# in 10 minutes
9:50
Просмотров 118 тыс.
OBLADAET - BARMAN
03:06
Просмотров 251 тыс.