C# Digest - Hidden features of C#
#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
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

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
Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator
Friday, February 14, 2025
What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Defining Your Paranoia Level: Navigating Change Without the Overkill
Friday, February 14, 2025
We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy
5 ways AI can help with taxes 🪄
Friday, February 14, 2025
Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help
Recurring Automations + Secret Updates
Friday, February 14, 2025
Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
The First Provable AI-Proof Game: Introducing Butterfly Wings 4
Friday, February 14, 2025
Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%
GCP Newsletter #437
Friday, February 14, 2025
Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers
Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰
Friday, February 14, 2025
Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from
The Great Social Media Diaspora & Tapestry is here
Friday, February 14, 2025
Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great
Daily Coding Problem: Problem #1689 [Medium]
Friday, February 14, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,
📧 Stop Conflating CQRS and MediatR
Friday, February 14, 2025
Stop Conflating CQRS and MediatR Read on: my website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your