csharp

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Expressions with Linq (github.com)

I wrote this blog a while ago, because it was a topic which was confusing and fascinating to learn. Since then, I've had a couple of other occasions when I've had to do similar things, and I've found myself looking back at what I wrote and using it as a reference. Hopefully some other people on here will also find it useful!

What Is yield and How Does It Work in C#? (www.viva64.com)

C# capabilities keep expanding from year to year. New features enrich software development. However, their advantages may not always be so obvious. For example, the good old yield. To some developers, especially beginners, it's like magic - inexplicable, but intriguing. This article shows how yield works and what this peculiar...

A Spy Undercover: PVS-Studio to Check ILSpy Source Code (www.viva64.com)

In PVS-Studio, we often check various compilers’ code and post the results in our blog. Decompiler programs, however, seem to be a bit neglected. To restore justice in this world, we analyzed the ILSpy decompiler’s source code. Let’s take a look at the peculiar things PVS-Studio found.

Hardware Intrinsics in .NET Core (devblogs.microsoft.com)

Several years ago, we decided that it was time to support SIMD code in .NET. We introduced the System.Numerics namespace with Vector2, Vector3, Vector4, Vector, and related types. These types expose a general-purpose API for creating, accessing, and operating on them using hardware vector instructions (when available). They also...

Avoid multithreading traps with Roslyn: Lock object selection (cezarypiatek.github.io)

Multithreading is one of the most difficult aspects of programming and can cause a lot of headaches. The main source of problems is often improper usage of synchronization mechanisms, which can result in deadlocks or a complete lack of synchronization despite our expectations. The infamous deadlocks can be detected in runtime...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • csharp@lemmy.ml
  • kavyap
  • ngwrru68w68
  • GTA5RPClips
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • Durango
  • slotface
  • everett
  • vwfavf
  • rosin
  • Leos
  • normalnudes
  • khanakhh
  • cisconetworking
  • cubers
  • InstantRegret
  • ethstaker
  • osvaldo12
  • modclub
  • anitta
  • provamag3
  • tacticalgear
  • tester
  • megavids
  • JUstTest
  • All magazines