Join me on Saturday, May 6th, 2023, at 10:00 PST on C# Corner for show #79 where, for the first time, my special guest will be John Kattenhorn, Founder and CEO at Applicita. Don't miss this episode!
[New post] Rockin’ the Code World: Special Guest John Kattenhorn
Key phrases
Older messages
[New post] Source Generators: Making API Calls Easy
Friday, March 24, 2023
dotNetDave posted: " Back in the early days of programming, making calls to the Windows API was a common way to accomplish tasks like creating message boxes, handling UI, and working with files.
[New post] Microsoft .NET Source Generators
Thursday, March 16, 2023
dotNetDave posted: " Source Generators were introduced in .NET 6 and provide a powerful way to not only generate code but also improve performance. Microsoft describes them this way: A Source
[New post] Spargine Dev Tool: For Microsoft .NET Developers
Tuesday, March 14, 2023
dotNetDave posted: " Way, way back in 2016, I wrote my first free app targeted toward Microsoft .NET developers, to help with a few common issues and I plan to add many more! The first feature is
[New post] Code Quality: Formatting Classes in Microsoft .NET to Make Them Easy to Read and Modify
Tuesday, March 14, 2023
dotNetDave posted: " For the future of the project, it's important that class files are laid out in a way that they are easy to read and modify and do consistently. We do this to avoid “
[New post] Microsoft .NET Source Generators: Speeding up JSON Serialization
Thursday, March 9, 2023
dotNetDave posted: " One of the big features added to Microsoft .NET 6 was the addition of source generators. A Source Generator is a new kind of component that C# developers can write that lets
Wednesday, May 31, 2023
Issue #1149 — Top 20 stories of June 01, 2023 Issue #1149 — June 01, 2023 You receive this email because you are subscribed to Hacker News Digest. You can open it in the browser if you prefer. 1
[New post] Microsoft .NET Code Analysis: Use the Index Operator
Wednesday, May 31, 2023
dotNetDave posted: " C# 8 introduced the index-from-end operator when accessing items in a collection. Here is an example of this prior to C# 8: return results[results.Count - 1]; In this case,
[New post] Microsoft .NET Code Analysis: Use Compound Assignments
Wednesday, May 31, 2023
dotNetDave posted: " Compound assignments have been available since .NET was released and is the preferred way to modify numbers and strings. Here is an example of the issue: var peopleCount = 0;
[New post] Microsoft .NET Code Analysis: The Importance of the readonly Modifier
Wednesday, May 31, 2023
dotNetDave posted: " The readonly modifier is used to designate fields or variables that can only be assigned once, typically during object creation or in the constructor. It is commonly employed
Hackers steal 9M dental patients' info in year's biggest reported health data breach
Wednesday, May 31, 2023
TechCrunch Newsletter TechCrunch logo The Daily Crunch logo By Christine Hall Wednesday, May 31, 2023 Today, some cybercrimes were uncovered, we found out how many of you are curious about the new
[New post] Microsoft .NET Code Analysis: Always Use Accessibility Modifiers
Wednesday, May 31, 2023
dotNetDave posted: " Accessibility modifiers are used to control the visibility of accessibility of types and members and are critical for proper Object-Oriented Programming. Here is why you need
[New post] Microsoft .NET Code Analysis: Remove Unread Private Members
Wednesday, May 31, 2023
dotNetDave posted: " As code is removed or changed in a class, often that might create unused private members such as variables, methods, properties, etc. It's important to remove them to
[New post] Microsoft .NET Code Analysis: Inline Variable Declaration
Wednesday, May 31, 2023
dotNetDave posted: " Starting with .NET 7, when calling a method with an out parameter, it's advisable to inline the variable declaration. Here is an example of the issue: double number1;if(
[New post] Microsoft .NET Code Analysis: aDD bRACES IN c#
Wednesday, May 31, 2023
dotNetDave posted: " Not adding braces {} to if statements can cause issues and readability issues. This code causes a violation: if (somelist[i] != other.somelist[i]) return false; This is how
[New post] Microsoft .NET Code Analysis: Remove Unnecessary Using Directives
Wednesday, May 31, 2023
dotNetDave posted: " I always remove unnecessary using directives for a few reasons that I discuss in detail in my coding standards book and conference session. First, let me show the issue: using