C# Digest - Hidden features of C#

And more news, tutorials and articles about C# and .NET in this week's issue.

#356 — March 29, 2021 View in browser

C# Digest

Spread the word, build the community, share the knowledge – invite your friends.

sponsor

How to Make Blazor Web Apps Run on Desktop

Marrying the web and desktop worlds with one tech stack has been a dream for many software development teams, but it's now perfectly achievable. By using either Electron or WebView, porting your app to the desktop becomes a walk in the park. In this blog, you will learn how to achieve what was previously impossible. Read on!

this week's favorite

Hidden features of C#

We, C# developers, all know the basics of C#. I mean declarations, conditionals, loops, operators, etc. But what are the most hidden features or tricks of C# that even C# fans, addicts, experts barely know?

What is the difference between ToArray and ToList?

What is the difference between ToArray and ToList? Hmm… what could be the difference besides one returns T[] and another one returns List<T>?

How good are your .NET tests? Test your tests with Stryker mutator

Turns out that you haven’t covered all the cases with your tests, despite 100% coverage. Then you changed few things here and there, and in the effect, the functionality doesn’t work as it should. How to reduce the chance of such a situation occurring again?

My favorite bugs with IDisposable

System.IDisposable is a foundational interface used in most .NET programs. Its primary purpose is to provide a mechanism for releasing “unmanaged” resources: file streams, database connections, network sockets, etc.

Debugging configuration values in ASP.NET Core

In this post I show how to use GetDebugView() to work out where your configuration values have come from, walk through the source code, and show a simple way to expose the configuration as an endpoint in your ASP.NET Core app. In the next post I'll show another (safer) way to expose this data.

courses

Cybersecurity Bootcamp: Pay Only If You Get A Job

Transition into cybersecurity, a lucrative and futureproof career where you protect essential systems and data with Springboard's newest bootcamp. Senior cybersecurity analysts earn $116k a year as a national average (Ziprecruiter). With a best in-class curriculum crafted by security experts with decades of experience as hiring managers, Springboard's program will get you the technical skills you need to start your cybersecurity career. Do real-life labs and projects, get the help you need to pass essential cybersecurity certifications such as the Security+, and benefit from 1:1 mentorship from industry experts as well as dedicated career support. With Springboard's deferred tuition option and job guarantee, you can choose to pay your tuition (and nothing more) only when you get a cybersecurity job.

newsletters


© 2021 Bonobo Press
Would you like to advertise or post a job with us? Check out our latest media kit.
If you no longer wish to receive these emails, click to unsubscribe.

Older messages

Loop alignment in .NET

Sunday, March 21, 2021

And more news, tutorials and articles about C# and .NET in this week's issue. #355 — March 22, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite your

Pattern Matching In C#

Sunday, March 14, 2021

And more news, tutorials and articles about C# and .NET in this week's issue. #354 — March 15, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite your

Internals of the Pinned Object Heap

Sunday, March 7, 2021

And more news, tutorials and articles about C# and .NET in this week's issue. #353 — March 08, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite your

Async, Await and the UI Problem

Sunday, February 28, 2021

And more news, tutorials and articles about C# and .NET in this week's issue. #352 — March 01, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite your

Event Sourcing Example & Explained in plain English

Sunday, February 21, 2021

And more news, tutorials and articles about C# and .NET in this week's issue. #351 — February 22, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite

You Might Also Like

🫵 Android Developer Previews Are Not For You — Virtual Reality Might Finally Be Socially Acceptable

Wednesday, November 27, 2024

Also: iPhone Camera vs. Digital SLR, and More! How-To Geek Logo November 27, 2024 Did You Know The band Radiohead was originally called "On a Friday"—the band was formed by high school

JSK Daily for Nov 27, 2024

Wednesday, November 27, 2024

JSK Daily for Nov 27, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted

Ranked | The World's Biggest Importers of Goods 🌎

Wednesday, November 27, 2024

As Trump tariffs are anticipated to disrupt global trade and push up prices for consumers, we show the world's biggest importers of goods. View Online | Subscribe | Download Our App >> 📱Book

Daily Coding Problem: Problem #1621 [Easy]

Wednesday, November 27, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. A regular number in mathematics is defined as one which evenly divides some

Spyglass Dispatch: The Xitter Bail Out • OpenAI Tender • Grokking Grok • Smartphone Sales • Fischer Random Chess • Scott Bessent for Treasury

Wednesday, November 27, 2024

The Xitter Bail Out • OpenAI Tender • Grokking Grok • Smartphone Sales • Fischer Random Chess • Scott Bessent for Treasury The Spyglass Dispatch is a free newsletter sent out daily on weekdays. Feel

The Long Road Home: A Story of Loss, Learning, and Renaissance - PART 4

Wednesday, November 27, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 27, 2024? The HackerNoon

Top Tech Deals 🏷️ PS5 Slim, 4K TVs, 10th Gen iPad, and More!

Wednesday, November 27, 2024

The Black Friday madness is here! How-To Geek Logo November 27, 2024 Top Tech Deals: PS5 Slim, 4K TVs, 10th Gen iPad, and More! The Black Friday madness is here! Black Friday sales are here, and we

The 165+ best Black Friday deals

Wednesday, November 27, 2024

Windows Super God Mode; Bluesky starter packs; Tech gifts under $100 -- ZDNET ZDNET Tech Today - US November 27, 2024 Black Friday 2024 live blog Best Black Friday deals 2024: 165+ sales live now

⚙️ Neuralink's new trial

Wednesday, November 27, 2024

Plus: Zoom is becoming an AI-first company ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Matrix Botnet Exploits IoT Devices in Widespread DDoS Botnet Campaign

Wednesday, November 27, 2024

THN Daily Updates Newsletter cover The AI Value Playbook ($35.99) FREE for a Limited Time Business leaders are challenged by the speed of AI innovation and how to navigate disruption and uncertainty.