7 C# Tips and Tricks to impress your .NET Developer friends
Ed Andersen Ed Andersen
33K subscribers
9,906 views
332

 Published On Apr 7, 2024

For the C# programming language, some clever tips and tricks for .NET Developers ranging from the quite tame (but useful) to so spicy you'll probably get lose your job if you used them!

0:00 Intro
0:18 Deconstructors for non-tuples
1:21 Static using declarations in C#
1:45 Switch property pattern
2:42 Pattern matching conditions
3:55 Method returning a tuple as a replacement for deconstruction
5:08 Setting a variable value using a pointer in unsafe C# code
6:45 Switching two values without a temporary variable using XOR

#csharp #dotnet #programming

show more

Share/Embed