soltes, to CSharp Polish
@soltes@mastodon.social avatar

ZX Speculator is a cross-platform ZX Spectrum 48K emulator written in #CSharp using @avaloniaui https://github.com/deanthecoder/ZXSpeculator

khalidabuhakmeh, to CSharp
@khalidabuhakmeh@mastodon.social avatar

What are some expensive CPU operations that can be done in #csharp and #dotnet? Something that makes the CPU sweat.

antaoalmada, to dotnet
@antaoalmada@dotnet.social avatar

Unlock the efficiency of non-blocking code with coroutines and behavior trees in C#. Learn how to implement behavior trees using the yield keyword in my latest blog post.
https://aalmada.github.io/posts/Behavior-tree-development-in-csharp-with-IEnumerable-and-yield/
#dotnet #csharp

bradwilson, to dotnet
@bradwilson@mastodon.social avatar

I have found a weird "bug" in @xunit that I'm having trouble tracking down.

In 2.7.0 we shifted a SynchronizationContext that was always used to one that's now used conditionally (to support async void unit tests). Two users have come forward saying their tests are now hanging. I've identified deadlocks in one's code, but how strange is it that the removal of a feature surfaces a bug in someone else's code?

1/2

smurthys, to CSharp
@smurthys@hachyderm.io avatar

I have written C# top-level code before, but I'm obviously suffering a "brain freeze" right now: Why does this simple top-level C# statement say "The name 'Console' does not exist in this context", even though I'm compiling with .NET 7.x and .NET 8 (well past .NET 5 that top-level statements need)? 😳

Console.WriteLine("hello world"); //System.Console works

.NET 8: https://dotnetfiddle.net/aAPvYU
.NET 7.0.105: https://sigcpp.godbolt.org/z/3v3Y1Ecbn

Someone, please, set me right. 🥺🙏🏽

khalidabuhakmeh, (edited ) to dotnet
@khalidabuhakmeh@mastodon.social avatar

Update: It's LibraryImport. Check out the updated screenshot. It's much nicer because it cycles through extensions and allows for custom marshalling of types (not seen in example).

Maybe I’m hallucinating this, but wasn’t there recently a newer option to import functionality in #dotnet and #csharp compared to the DllImport approach. I swear it was a source generator or something.

khalidabuhakmeh, to rust
@khalidabuhakmeh@mastodon.social avatar

What’s neat about is the polyglot nature of it. I'm writing a library that I later consume in a solution, all without switching context.

I can also run my .NET solution and run my tests. That's a nice workflow.

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I wanted to see where is currently at with support and found there's a lot of nice helpers for a .csproj file. Here is a helper to set the language version.

JetBrains Fleet in .NET Project

davidwengier, to CSharp
@davidwengier@aus.social avatar

I love talking about C#, so I listen to every podcast episode Mads is on so I can pretend I’m having a conversation with him. Helps that I like listening to people talk about C# just as much 😀

https://overcast.fm/+BHQDyOH84Y

#csharp #dotnet

testdouble, to rubyonrails
@testdouble@mastodon.social avatar

Do you know a top-notch Ruby on Rails or C# developer?

We're hiring subtractors!

💚 Our mission is to improve the way the world builds software. We care about things like testing best practices, maintainability, and scalability.

✨ We're fully remote and looking for subcontractors across the U.S. and Canada.

iw, to CSharp
@iw@hachyderm.io avatar

Early in my career as a marketing analyst I wrote a C# script, and then a desktop app, to compare and clean email lists from vendors using MD5 hashes - and I gave it away for free despite there being a small business opportunity.

https://www.isaacwyatt.com/posts/2024-03-30/?utm_source=hachyderm.io&utm_medium=referral&utm_campaign=user_post&utm_content=%40iw

janriemer, to CSharp

Implicit index access in C# 13

https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-13#implicit-index-access

Wait...what!? What is this even doing and what is it for?

Urgh... I think I have to stop looking at new language features for some time...

#CSharp #FeatureBloat

maartenballiauw, to CSharp
@maartenballiauw@mastodon.online avatar

Time to dive into today's topic: Collection Expressions 🥳

In this series by @matkoch86, we take a closer look at the #csharp 12 language features and how ReSharper and Rider make it easy to adopt them in your codebase. #dotnet
https://blog.jetbrains.com/dotnet/2024/03/26/collection-expressions-using-csharp-12-in-rider-and-resharper/?utm_medium=social&utm_source=mastodon&utm_campaign=collection-expressions-using-csharp-12-in-rider-and-resharper

devleader, to dotnet
@devleader@hachyderm.io avatar

I've created a course to take you from zero coding experience through to understanding the basics of writing code in C#.

No previous experience required! And if you know some other languages already, this is still a great opportunity to get into C#.
https://dometrain.com/course/getting-started-csharp?affcode=1115529_nl-teyzg

#DotNet #CSharp #LearnToCode #Coding #Programming

sonny, to rust
@sonny@floss.social avatar


/

/
#C



Those are languages people use to write / apps, and it's amazing ❤️

khalidabuhakmeh, to godot
@khalidabuhakmeh@mastodon.social avatar

The #JetBrainsRider integration with #GodotEngine is pretty awesome when writing your games in #csharp. There's a little Godot icon that lets you launch the Godot editor.

khalidabuhakmeh, to godot
@khalidabuhakmeh@mastodon.social avatar

Spent some time changing a to a class. They look identical, but it seems the same hardcoded values work differently in GDScript vs. C#.

Does anyone want to have a look? I can't see what I did differently.

C# code

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

FIGURED IT OUT! I forgot to add up the gravity. The “+=“ is possible in GDScript, but Vector2 is a record type in C#, so you can’t apply the +=. In the language conversion, I glossed over that. Doh! #godotengine #csharp

mforester, to CSharp
@mforester@rollenspiel.social avatar

I spent the afternoon replacing some #csharp code with functional code from the language extensions library.
My brain hurts and it took me much longer than expected, but I already discovered a few obvious bugs. Can't wait to do more with it. 🤩
I'd like to think that I'm pretty good with LINW, but language-ext is on a whole new level. I've worked with it before, but haven't seen it in a few years and I feel like I've forgotten everything. 😅

voltagex, to rust
@voltagex@aus.social avatar

Both #Rust and #GoLang make me feel like I am unable to write code, to some degree. I know more Go than Rust but I would like to change that.

I want to reimplement the #Wallabag API.

Which should I choose? I guess #CSharp is also an option.

mihamarkic,
@mihamarkic@mastodon.social avatar

@voltagex I'd go with #csharp which should be the most productive of the three. I'm biased though, working with it since it's beta. The next option would be #rust, but as mentioned, it has a steep learning curve and not everything is in place yet (async is quite volatile from what I read). But hey, there are also #swift and #kotlin out there. Both at a similar level to C#.

breakpointshow, to dotnet
@breakpointshow@mastodon.social avatar

🎉 Get ready for a legendary showdown on "The Breakpoint Show" podcast! Join us with special guest @markrendle as we discuss the 1 Billion Row Challenge and dive into the wild world of .NET and C# performance! 🚀 🎙️

https://tinyurl.com/3hmb7w5e

jolexxa, to gamedev
@jolexxa@mastodon.online avatar

Tonight at 6:30 CST, I'll be speaking at the local chapter of the International Game Developer's Association (IGDA) about how our work at Very Good Ventures inspired tools to enable scalable, enjoyable #gamedev with nothing but open source software (i.e., #godot and #csharp). Catch it at https://youtube.com/igdatc

alexzeitler, to rust
@alexzeitler@mastodon.social avatar

Microsoft has released a #Rust guide for #csharp #dotnet developers

https://microsoft.github.io/rust-for-dotnet-devs/latest/

cwoodruff, to dotnet
@cwoodruff@mastodon.social avatar

New Blog Post - I am Self-Publishing the Network Programming Book!

https://woodruff.dev/i-am-self-publishing-the-network-programming-book/

#dotnet #csharp #networkprogramming

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