SO_CSharp's profile picture. Some interesting questions and answers about C# which I bumped into on StackOverflow and general C# and programming stuff.

SO C#

@SO_CSharp

Some interesting questions and answers about C# which I bumped into on StackOverflow and general C# and programming stuff.

When a Python developer is forced to code in Java

SO_CSharp's tweet image. When a Python developer is forced to code in Java

Learned a new term recently - quasi-implementation 😁 stackoverflow.com/a/76663770/250… #dotnet #csharp #stackoverflow


I like answering such questions, when subtle hints and some previous knowledge allows to guess what is the actual issue: stackoverflow.com/q/76621237/250… #dotnet #csharp #stackoverflow


That is a nice RFC you got here - rfc-editor.org/rfc/rfc1925


SO C# reposted

Got the .NET green thread (virtual thread/goroutine) experiment running with Kestrel. This stuff is hard to show but this call stack made me very happy 😅 #dotnet

davidfowl's tweet image. Got the .NET green thread (virtual thread/goroutine) experiment running with Kestrel. This stuff is hard to show but this call stack made me very happy 😅 #dotnet

SO C# reposted

It's happening. Newtonsoft.Json download count passed 32-bit integer max size. What else breaks or overflows? 😈

Azure DevOps Artifacts is using a 32-bit integer to store download counts @AzureDevOps

dl_nz's tweet image. Azure DevOps Artifacts is using a 32-bit integer to store download counts
@AzureDevOps


A little bit more of peculiar stuff from SO. Now it's FileStream.ReadAsync blocking behavior on Windows: stackoverflow.com/q/58722520/250… #csharp #dotnet #stackoverflow #windows


A small piece of not very useful but I would argue interesting knowledge about the .NET caching ToString for single digit positive numbers: stackoverflow.com/q/71980721/250… #csharp #dotnet #stackoverflow


Has not worked much with the unmanaged stuff so it was an interesting brain teaser: stackoverflow.com/q/71577235/250… #dotnet #csharp #stackoverflow


It is truly amazing how far technology has come!

A quick thread on in the importance of being careful what data you share - even if you're the Queen. Today, Her Maj tweeted this lovely picture, gor bless er, etc. You might think that the contents of the red box would be official business. And you'd be right. 1/6

amateuradam's tweet image. A quick thread on in the importance of being careful what data you share - even if you're the Queen. Today, Her Maj tweeted this lovely picture, gor bless er, etc. You might think that the contents of the red box would be official business. And you'd be right. 1/6


SO C# reposted

As of today, there is no official difference between string.Empty and "" in codegen after github.com/dotnet/runtime… and github.com/dotnet/runtime… 😅😅

EgorBo's tweet image. As of today, there is no official difference between string.Empty and "" in codegen after github.com/dotnet/runtime… and github.com/dotnet/runtime… 😅😅

SO C# reposted

.NET 6's web api model binding has gotten crazy sophisticated!

jbogard's tweet image. .NET 6's web api model binding has gotten crazy sophisticated!

JIC - if you want to play with some preview features (like generic math) better install VS 2022 preview or use dotnet build command to build your app. stackoverflow.com/q/69238213/250… #dotnet #csharp #visualstudio #stackoverflow


If you have wondered how to publish a self-contained C# executable that references another executable - here is one approach stackoverflow.com/questions/6880… #dotnet #csharp #stackoverflow


Force a non-exhaustive c# switch expression to cause a compile error: stackoverflow.com/q/68227746/250… #dotnet #csharp #stackoverflow


Default interface implementation still makes people wonder what the hell is happening: stackoverflow.com/q/68185390/250… #dotnet #csharp #stackoverflow


Loading...

Something went wrong.


Something went wrong.