#c-sharp
C# stories
One of my favorite language.
- posts
- 6
- snippets
- 2
- stories
- 46
- videos
- 22
- tools
- 0
-
c-sharpcorner.com ·
Difference Between var, dynamic, and object in C# (opens in a new tab)If you're new to C# or coming across different types like var, dynamic, and object. It's easy to feel confused. They all seem to allow you to define variables flexibly—but how they work under the hood is very different.
-
dev.to ·
Modern C# Development: Custom Exceptions Made Simple - DEV Community (opens in a new tab)Hi lovely readers, Errors happen. Sometimes they are simple, and sometimes they are very specific to... Tagged with csharp, dotnet.
-
devblogs.microsoft.com ·
Refactor your C# code with primary constructors - .NET Blog (opens in a new tab)Explore C# 12's primary constructors through incremental refactoring of a Worker service.
-
steven-giesel.com ·
Overload resolution in C# (opens in a new tab) -
code-maze.com ·
BitArray in C# - Code Maze (opens in a new tab)BitArray class in c# is a type that manages an array of bits. BitArray implements ICollection and ICloneable interfaces.
-
code-maze.com ·
Boosting Performance With Sealed Classes in .NET - Code Maze (opens in a new tab)Classes are one of the core concepts of OOP. Let's see how sealed classes help us in boosting performance in C# projects.
-
c-sharpcorner.com ·
Stack Vs Heap Memory - C# (opens in a new tab)In this article, you will learn about Stack v/s Heap Memory - C#.
-
ericlippert.com ·
Closing over the loop variable considered harmful, part one | Fabulous adventures in coding (opens in a new tab) -
stefansch.medium.com ·
Another set of common async / Task pitfalls, and how to avoid them | by Stefan Schranz | Medium (opens in a new tab) -
code-maze.com ·
Tasks vs Threads in C# - Code Maze (opens in a new tab)Tasks have mostly replaced threads in our projects. Here we analyze the reasons for choosing tasks over threads, along with comparisons.
-
steven-giesel.com ·
Abstraction vs Encapsulation (opens in a new tab)Abstraction and Encapsulation are two fundamental concepts in object-oriented programming. So let us have a small look what the difference is between those two.
-
code-maze.com ·
How to Implement a LinkedList in C# - Code Maze (opens in a new tab)This article covers the main concepts of linked lists and how to implement LinkedList and custom LinkedList using C#.
-
anthonygiretti.com ·
Introducing C#11: Required properties – Anthony Giretti's .NET blog (opens in a new tab) -
planetgeek.ch ·
Our journey to F#: C#-F# Interop – planetgeek.ch (opens in a new tab) -
innovensa.co.uk ·
Fluent Assertions 10 Top Tips | Innovensa Ltd (opens in a new tab)Using Fluent Assertions can greatly improve .NET unit test code. This article gives some .NET developer tips after a re-visit to the docs and a version update.
-
code-maze.com ·
Different Ways to Add Values to a C# Array - Code Maze (opens in a new tab)How do we add values to an array in C#? There are a few ways we can do it and then we'll do a benchmark to see which one is the fastest.
-
devblogs.microsoft.com ·
Just-in-time refactoring made even easier with IntelliCode auto suggested code for C# - Visual Studio Blog (opens in a new tab) -
dotnetcoretutorials.com ·
Using Playwright E2E Tests With C# .NET - .NET Core Tutorials (opens in a new tab) -
mrlacey.com ·
Comparing a variable with multiple options in C# ~ Matt Lacey (opens in a new tab) -
jimmybogard.com ·
You Probably Don't Need to Worry About MediatR (opens in a new tab) -
arialdomartini.github.io ·
You probably don't need MediatR (opens in a new tab) -
community.devexpress.com ·
CodeRush - Visual Studio Productivity Tools Are Available Free-of-Charge in v22.1! (opens in a new tab) -
ayende.com ·
Challenge: Spot the optimization–solution - Ayende @ Rahien (opens in a new tab) -
microsoft.github.io ·
C# Code Reviews - Code With Engineering Playbook (opens in a new tab) -
mccshreyas.com ·
List of YouTube channels for .NET C# developers – Shreyas Jejurkar Blog (opens in a new tab) -
code-maze.com ·
Different Ways to Initialize Arrays in C# - Code Maze (opens in a new tab)In this article, we are going to talk about different techniques that we can use to initialize arrays in C#.
-
daveabrock.com ·
Exploring C# 10: Global Using Declarations (opens in a new tab)Let's explore global using directives in C# 10, a nice way to make your namespaces available throughout your project.
-
csharp-examples.net ·
C# Foreach (opens in a new tab)Online debuggable examples of foreach loop, continue/break statement, custom IEnumerable implementation. ➤ foreach (var name in names) {...}
-
medium.com ·
C# Is Dying (opens in a new tab) -
exceptionnotfound.net ·
Bite-Size C# 10 - Anonymous 'with' Expressions (opens in a new tab)Let's make our anonymous objects easier to copy using the with expression!
-
code4it.dev ·
C# tip: String.IsNullOrEmpty or String.IsNullOrWhiteSpace? - Code4IT (opens in a new tab)Is your string really empty, or has it hidden characters? With String.IsNullOrEmpty and String.IsNullOrWhiteSpace you can find it
-
code4it.dev ·
C# tip: how to get the index of an item in a foreach loop - Code4IT (opens in a new tab)Do you need the index of the current item in a foreach loop with C#? Here you'll see two approaches.
-
jaliyaudagedara.blogspot.com ·
C# 10.0: Introducing Global Usings (opens in a new tab) -
makolyte.com ·
C# - Case sensitivity in JSON deserialization | MAKOLYTE (opens in a new tab)Shows how to case insensitive and case sensitive JSON deserialization using Newtonsoft and System.Text.Json
-
tooslowexception.com ·
6 less popular facts about C# 9 records – TooSlowException (opens in a new tab) -
infoq.com ·
C# 9: New `and`, `or`, and `not` Keywords for Pattern Matching (opens in a new tab)Though it may sound like our occasional April Fools Day joke, C# 9 is looking to add `and`, `or`, and `not` to its list of keywords. Specifically, for use in pattern matching.
-
blog.stephencleary.com ·
Eliding Async and Await (opens in a new tab)A discussion about returning tasks directly rather than using async/await..
-
blog.miguelbernard.com ·
5 tips to improve your productivity in C# 8.0 (opens in a new tab)Microsoft added a lot of new syntax goodies in their latest release of C#, namely: index from the end, range operator, null coalescing operator, using variables, verbatim string with interpolation
-
gist.github.com ·
JavaScript equivalents of some common C# LINQ methods (opens in a new tab) -
dotnet.microsoft.com ·
.NET Videos | Free videos from the .NET team and community (opens in a new tab)Free videos for learning all aspects of the .NET developer platform, including web, mobile, desktop, C#, machine learning, containers/docker, and data access.
-
dzone.com ·
C# Exception Handling Best Practices - DZone Performance (opens in a new tab)Learn what an exception is, about the anatomy of C# exceptions, the basic try catch finally block, exception filters, and how to create C# exception types.
-
blog.submain.com ·
C# Constructor: Usage, Examples, Best Practices, and Pitfalls (opens in a new tab)Today we define the concept of a C# constructor, then show usage examples with general tips on best practices to follow and pitfalls to be aware of.
-
telerik.com ·
C# 8: Static Local Functions and Using Declarations (opens in a new tab)The next major version release of the C# language (C# 8) comes with exciting new features. Let's look at two new features in C# 8, static local functions and the using declaration.
-
michaelscodingspot.com ·
How to Debug LINQ queries in C# (opens in a new tab)By michaelscodingspot.com
-
claudiobernasconi.ch ·
Top 10 C# Developer Books for Summer 2019 (opens in a new tab)A compilation of the best C# Developer Books to read in 2019 to improve your knowledge, and advance in your career.
-
exceptionnotfound.net ·
A Practical Example Of Asynchronous Programming in C# and ASP.NET (opens in a new tab)Let's take an existing synchronous ASP.NET web app and begin refactoring it to use asynchronous programming. Sample C# project included.