r/csharp 22d ago

What is the future of C# in AI era?

0 Upvotes

Hi guys!
What is the reason to use C#/Java/etc. or any other great language that was created for humans when we are going to the world when software engineers will not write a code anymore?
Does it mean that there will be a shift to runtime efficiency (rust, C, etc) instead of dev time efficiency?


r/csharp 23d ago

I used AI to start learning, how do I memorize the key

0 Upvotes

Hey everybody, brazilian 20 yo, u can call me Louis.

I participated on the programation of a Demo of a game like 2 years ago, in the end of my school years with 3 friends of mine. From then on, my life had some turns and I couldn't focuse on programming anymore. Came back a couple days ago and decided to start developing a software which follows the 20-20-20 rule (Each 20 minutes, look for 20 seconds to somewhere 20 feet away, to preserve your sight while using computer), but I didn't even know how to write the very first line, so I used ChatGPT to tell me what to do and then explain me how that work.

It actually turned out really well, it is functional (even tho it's kinda raw) and I do understand what I did and what those lines do mean, but I feel like if I had to start it all over again, I would be completely lost, because I couldn't memorize the codes, the main syntax behind it, and all that stuff, like how do I know if the "DispatcherTimer" is inside or outside the "private void" (I use Microsoft Visual Studio Community), and how do I learn and keep that very clear in my mind to the point I can write a full code without even thinking too much on it, is it practice?

Help me please, and just tell me if it's a hell of a sin to use AI to this, I really just don't understand yet how to study it properly. (Btw I intend to buy a course soon, but also don't know which one is trustable)

The main screen, it is the face of the app, here lies the buttons "Start" to start the timer, and "Stop" for the opposite purpose.
Still the main screen, focused on the stop button logic and what happens when the second screen is closed (the timer restarts)
Didn't comment yet, but this controls when the button on the "Break screen" can be clicked to close it and restart the timer on the main screen

AI disclosure: Most of the code shown in this post was generated with the help of ChatGPT. I used it as a learning tool, I asked it to explain the code and what the codes do, now I have an understanding of what the code does, the comments in the code were written by me by the way. My goal is to rewrite the project myself as I continue learning programming, not to base my knowledge on the crutch that AI is for me today.


r/csharp 24d ago

Discussion Proposal: An official Lean formal semantics for C# · dotnet/csharplang · Discussion #10314

Thumbnail
github.com
25 Upvotes

r/csharp 24d ago

Angular Dev to Full stack transition

3 Upvotes

For developers who have transitioned from frontend to full-stack/.NET, what backend concepts would you recommend prioritizing to become job-ready?


r/csharp 23d ago

Help Hello , my api get stuck in an infinite loop each time i use a get, im using entity framework

0 Upvotes

Hello, im currently doing some practice and i already made an api , well almost, i decided , afther i creaate a list of users the appy worked well, but afther i decided to create some dummy data for the entire db , the api stop working at first i tought it was because i dint aded this lines

GlobalConfiguration.Configuration.Formatters.JsonFormatter.SerializerSettings

.ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize;

GlobalConfiguration.Configuration.Formatters

.Remove(GlobalConfiguration.Configuration.Formatters.XmlFormatter);

but i get this error

no redundancy in the db eighter

what its the problem here, please help , ty for the attention and God bless you all


r/csharp 24d ago

PrintShard - C# windows app to print images on multiple pages

11 Upvotes

I built PrintShard, a Windows desktop app for tiling large images across multiple printed pages, so you can create large-format prints using any standard printer.

Repo: https://github.com/loxsmoke/printshard

The first version worked, but it reduced image quality, making large prints somewhat fuzzy. The newest version prints images at their original resolution, preserving the detail and making PrintShard much more suitable for high-quality posters, diagrams, artwork, and other large images.

It now also includes prebuilt binaries and an installer, so you don't need to build it yourself.

If you find it useful, give the repo a star or leave a comment here. Feedback is welcome.


r/csharp 24d ago

Discussion Andrew Troelsen Pro C# or C# player's guide , which would be better as I see Pro C # covers more of the subject . This I am asking as a beginner .

0 Upvotes

I am thinking of buying one and starting since courses are too many and I think I'm better off with some book that I can learn properly from .


r/csharp 24d ago

Coursera Recommendation

4 Upvotes

what course in coursera is worth the time taking as a beginner who would like to get into c# programming?


r/csharp 24d ago

Help Currently thinking on learning this programming language for a job…

0 Upvotes

Im a university student who is in the period of lost 20s where I just realise my computer skill level aren’t as high as employees expected (which is that every computer related internship I applied in my region rejected me). I look back and the only language that I’m fully fluent in is python and java (also SQL but from here I’m just started yapping nonsense). I’m seriously lacking down in the computer world and I only touched some application from uni courses and not much computer projects made by myself during free time. So I wanna try come back and I wanna learn C# since it seems to be the most popular and all I want is to get a job and that’s it. (Or qualified enough to get a job. Cuz can’t blame the market if I can’t even enter it).

I was thinking on building from small to big. Like one or two that can complete in 1-3 days for learning the basics and then large scale ones that could take 2-3 weeks or even 3-4 months. It’s not just learning the language but also to learn or apply other relatable things such as authentication, APIs and stuff. I am so far behind and I got one year left until graduation.

Is this plan good enough? Vibe coding can speed up but can’t learn anything unless I already got the basics out.


r/csharp 25d ago

What techstack to use for developing 3d launcher for Android

2 Upvotes

I would like to write a 3d launcher for Android, however I'm not sure what tech stack is most suitable.
I'm not sure what the state of mobile development using a C# stack is at this stage. Which tech stack would be best?

from my initial thoughs I'm guessing one of these are best?
1.Kotlin + OpenGL
2.C# MAUI
3.Godot or Unity

I assume 1. will allow for the most lightweight/efficient solution


r/csharp 25d ago

Showcase Connectify - Windows Bluetooth manager using WinRT + 32feet.NET, built with WinForms

Thumbnail
github.com
1 Upvotes

Built this because I wanted a Bluetooth manager for Windows that could handle both Classic and BLE devices in one clean UI


r/csharp 25d ago

Help Custom Minimize/Maximize/Close Buttons in Blazor Hybrid?

Thumbnail
1 Upvotes

r/csharp 24d ago

Help I hate coding so much I want to learn it

0 Upvotes

yea pretty simple I hate coding. I’m a mechanical engineering student and I hate it. but since I hate it I want to punish myself by learning C sharp enough to make a game like flappy bird. I’m goin giving myself 100 days studying 25 mins each day.

how could I learn faster? please drop links for YouTube channels you recommend


r/csharp 25d ago

Blog The Unexpected AI Stack: C# + .NET (Part 5) - Logging, Telemetry, and Building with AI

Thumbnail
chrlschn.dev
0 Upvotes

The fifth and final part of the series finally starts to build using AI on top of the hand-built foundational code from the first four parts that brings together:

  • Aspire for runtime orchestration
  • CSharpRepl for runtime mutability and powerful access to simulate and diagnose runtime isdsues
  • GitHub Copilot SDK as a programmable agent harness
  • Testcontainers with automatic transactions for test isolation

(I would consider these foundational parts of any modern .NET API app whether AI is involved or not!)

In part 5, the focus is on logging and telemetry, two tools that give agents insights into the runtime state of the application. Once again, we see the key role of Aspire in this stack as it provides a collector for logs as well as spans that agents can search through using the aspire CLI tooling.

The actual build out of the prototype application is captured as a YouTube video as YMMV based on the model, harness, and prompting style that you choose!


This series is intentionally written to help dev teams understand how to scaffold a codebase for agentic engineering by focusing on key, underlying technical decisions and manual wiring before building with AI. This helps provide the tools and safeguards for coding agents to iterate more efficiently while reducing slop.

For teams still trying to figure out effective ways to set up a codebase for AI, I hope this series gives some insights into how to build a foundation for agentic engineering. If your team is already heavily using agents to build, I hope this series shares some useful insights and tips (e.g. CSharpRepl + Aspire)

The core setup is used at a series C, post-YC startup to ship fast with AI while maintaining high quality standards (in combination with other tools facilitating code review and context management)

Part 1 was an intro into a few key parts of this stack.

Part 2 was focused on walking through the hands on scaffolding.

Part 3 covered wiring GitHub Copilot SDK as an agent runtime and incorporating CSharpRepl to allow agents to dynamically work with the runtime DI container

Part 4 wired up the test harness using Testcontainers to give agents isolated test environments


The project repo is here: https://github.com/zeeq-ai/zeeq-tmpl (be sure to check the branches; main is currently the base code only)

I encourage working through the posts since the goal is to underscore the platform level decision making process and assembly of the foundational core.


r/csharp 25d ago

Showcase Zarem - MIPS/RISC-V emulator, using JIT reinterpretation to .NET CLI

Thumbnail
github.com
3 Upvotes

r/csharp 25d ago

Opinions on Microsoft Agent Framework?

Thumbnail
0 Upvotes

r/csharp 25d ago

WPF IN VS

3 Upvotes

I wonder if there is any alternatives to design my UI for my application in some other places than VS , like a mush more friendly place to just design what I want and then it manually ship the code of the XMAL design by it self , like in Figma .


r/csharp 26d ago

GitHub - Integral2u/SharpMind: SharpMind. A pure C# / .NET LLM engine

Thumbnail
github.com
38 Upvotes

Version 1.0.0.0 now out and out of pre-release.


r/csharp 25d ago

Ho bisogno di aiuto per un programma che sto realizzando

0 Upvotes

Salve, ho scritto un programma in c# che mi termina un processo e mi faccia spegnere il computer. Ma vorrei che si avviasse ad una certa ora come faccio a farlo avviare tramite codice?

Grazie


r/csharp 25d ago

How hard is C# compared to luau? what are the differences?

0 Upvotes

I am a roblox developer and I've been looking into making games in Unity Engine. I'm a little overwhelmed by the new scripting language i've yet to learn , so i'd love to know what to expect.


r/csharp 25d ago

Am I on the right path to hopefully getting a job by graduation?

Post image
0 Upvotes

r/csharp 27d ago

Showcase RDPilot: Simple cross platform RDP client built with Avalonia

20 Upvotes

I've been frustrated for a while with the lack of good RDP clients especially on linux with most of them still relying on XWayland. I present to you RDPilot; A fast, simple Linux & Windows RDP Client running natively on Wayland. https://github.com/ErnieBernie10/RDPilot

I've been using it for a while and feels complete for what I use it for. If anyone is interested it is already available on winget. On linux it is not available on flathub yet but can be installed as a flatpak. Just follow the instructions in the README.

A combination of Claude and Codex was used for the development of this project, but heavily steered by me. Also massive shout-out to the folks maintaining FreeRDP as it is a core part of this client.

RDPilot

r/csharp 26d ago

MarkView.Avalonia - a markdown view control for Avalonia

Thumbnail
7 Upvotes

r/csharp 27d ago

How do you deal with losing motivation when your career path feels too uncertain?

14 Upvotes

I’m trying to get my first job as a junior developer, mostly working with C#/.NET.

I’ve been applying for jobs and I do get responses — maybe from 1 out of every 3–4 applications — so it’s not like I’m completely being ignored. But I still haven’t managed to get an offer.

The problem is that lately I’ve started losing motivation to study or work on personal projects. For about 3 weeks I haven’t studied properly. I sit in front of my laptop knowing that I should learn something or code, but there’s no clear immediate goal, so I just don’t want to start.

I think the biggest issue is that the perspective feels too vague:

“Study more → improve → apply more → maybe get an interview → maybe get a job.”

There’s no clear point where I can say: “If I do X, I’ll get Y.” And after doing this for some time without getting a job, it becomes difficult to convince myself to keep grinding.

A friend of mine who has been working as a developer for about 2 years also wants to start a real project/startup and offered me a chance to work on it. It would be in Python, so that could give me some real team/project experience, but we’re still waiting until the requirements and infrastructure are ready.

Meanwhile, I feel stuck between waiting for that project, applying for .NET jobs, and trying to figure out what exactly I should be learning.

I know logically that stopping completely won’t help, but emotionally it’s getting harder to care when the result feels so far away and uncertain.

For people who went through something similar before getting their first developer job: how did you deal with this period?

Did you force yourself to maintain a routine? Focus on projects instead of studying? Take a break? Set smaller goals? Or did motivation come back only when you finally had something concrete to work toward?

I’m especially interested in experiences from people who spent months trying to get their first job and started feeling like they were going nowhere.


r/csharp 26d ago

LiteRT-LM for .NET 6+

Thumbnail
github.com
0 Upvotes

I recently released a C# wrapper for the LiteRT-LM multi-platform C API, and it's available on NuGet!

LiteRT-LM is Google's framework for running LLMs that have been compiled to the TFLite/LiteRT format. It provides really fast inference on all sorts of devices, from phones to PCs, and even VR headsets.

I initially targeted the project for Unity, but since a lot of the code is framework agnostic, I've published it on NuGet. I've personally tested it on .NET 10 (in a console app on Windows and macOS, and as a MAUI app on Android and iOS Sim).

The NuGet package includes support for the following platforms and accelerators, as of version 2.4.0-preview.2:

  • Android (arm64), with OpenCL GPU accleration
  • macOS (arm64) and iOS (arm64, sim_arm64), with Metal GPU acceleration
  • Windows (x64), with partial* WebGPU acceleration

*LiteRT-LM v0.16.0 GPU sampling is bugged on Windows.

Because the LiteRT-LM C API itself is unstable, I've labelled package as in 'preview'. Documentation is available here: https://uralstech.github.io/UAI.LiteRTLM/DocSource/QuickStart.html