High Definition Standard Definition Theater
Video id : 4r-_34efDMk
ImmersiveAmbientModecolor: #e8e8e8 (color 2)
Video Format : (720p) openh264 ( https://github.com/cisco/openh264) mp4a.40.2 | 44100Hz
Audio Format: 140 ( High )
PokeEncryptID: 34314f992c867839f7a6a9156a28b49b7acaaff9dfa2b2523e7fa89d0a8b4003eb498cc47691f18cb9e952e57d22e707
Proxy : cal1.iv.ggtyler.dev - refresh the page to change the proxy location
Date : 1732653302773 - unknown on Apple WebKit
Mystery text : NHItXzM0ZWZETWsgaSAgbG92ICB1IGNhbDEuaXYuZ2d0eWxlci5kZXY=
143 : true
4,828 Views • Jun 3, 2024 • Click to toggle off description
Watch the full video:    • 17 Pieces of C# Syntax That Make Your...  

Property patterns are a valuable addition to C# when simplifying complex branching logic.
You can pull nested branching up and convert the entire block of ifs into a straight line of Boolean tests.
The problem with this code is that related conditions are located far away from each other on the line.
Property patterns address that problem.
For example, right after matching the variable type, you can open a pair of curly braces and add a condition for this object's properties.
I wonder if the length of the last name is zero.
That is a special case here, so let's capture a variable of the FullName type with the last name empty.
That is how property patterns can simplify Boolean conditions.
Follow the link to the long video and learn more about modern C# syntax and its practical use.

Become a sponsor to access source code ► www.patreon.com/zoranhorvat
Join Discord server with topics on C# ► codinghelmet.com/go/discord
Enroll course Beginning Object-Oriented Programming with C# ► codinghelmet.com/go/beginning-oop-with-csharp
Subscribe ►    / @zoran-horvat  
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
👨 About Me 👨
Hi, I’m Zoran, I have more than 20 years of experience as a software developer, architect, team lead, and more. I have been programming in C# since its inception in the early 2000s. Since 2017 I have started publishing professional video courses at Pluralsight and Udemy and by this point, there are over 100 hours of the highest-quality videos you can watch on those platforms. On my YouTube channel, you can find shorter video forms focused on clarifying practical issues in coding, design, and architecture of .NET applications.❤️
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
⚡️COPYRIGHT NOTICE:
The Copyright Laws of the United States recognize a “fair use” of copyrighted content. Section 107 of the U.S. Copyright Act states: “Notwithstanding the provisions of sections 106 and 106A, the fair use of a copyrighted work, including such use by reproduction in copies or phono records or by any other means specified by that section, for purposes such as criticism, comment, news reporting, teaching (including multiple copies for classroom use), scholarship, or research, is not an infringement of copyright." This video and our youtube channel, in general, may contain certain copyrighted works that were not specifically authorized to be used by the copyright holder(s), but which we believe in good faith are protected by federal law and the Fair use doctrine for one or more of the reasons noted abov
Metadata And Engagement

Views : 4,828
Genre: Science & Technology
Uploaded At Jun 3, 2024 ^^


warning: returnyoutubedislikes may not be accurate, this is just an estiment ehe :3
Rating : 4.723 (19/255 LTDR)

93.07% of the users lieked the video!!
6.93% of the users dislieked the video!!
User score: 89.60- Overwhelmingly Positive

RYD date created : 2024-06-18T21:57:46.734826Z
See in json
Tags
Connections
Nyo connections found on the description ;_; report an issue lol

2 Comments

Top Comments of this video!! :3

@luc9volts

5 months ago

I want to learn F# but modern C# has so many nice features 😅😅

6 |

@Cjmusicism

5 months ago

Wow thank you!! I had no idea this was available!

1 |

Go To Top