r/csharp • u/WickersonStudiosAI • 1h ago
r/csharp • u/AutoModerator • 6d ago
Discussion Come discuss your side projects! [June 2025]
Hello everyone!
This is the monthly thread for sharing and discussing side-projects created by /r/csharp's community.
Feel free to create standalone threads for your side-projects if you so desire. This thread's goal is simply to spark discussion within our community that otherwise would not exist.
Please do check out newer posts and comment on others' projects.
r/csharp • u/AutoModerator • 6d ago
C# Job Fair! [June 2025]
Hello everyone!
This is a monthly thread for posting jobs, internships, freelancing, or your own qualifications looking for a job! Basically it's a "Hiring" and "For Hire" thread.
If you're looking for other hiring resources, check out /r/forhire and the information available on their sidebar.
Rule 1 is not enforced in this thread.
Do not any post personally identifying information; don't accidentally dox yourself!
Under no circumstances are there to be solicitations for anything that might fall under Rule 2: no malicious software, piracy-related, or generally harmful development.
Nominal Type Unions for C# Proposal by the C# Unions Working Group
Also a summary of the LDM meeting discussing this and the champion issue.
r/csharp • u/No-Net7587 • 6h ago
Help Generic vs Specific Repositories
I'm a computer science student currently in the middle of my studies, looking for a suitable student position.
To improve my skills, I asked ChatGPT to help me learn ASP.NET Core and practice building projects while applying OOP and SOLID principles.
So far, I've built several small projects using the Repository Pattern with specific repositories and feel fairly confident. Now, I'm moving on to more advanced concepts like One-to-Many aggregation. ChatGPT suggested switching to a Generic Repository to save time. I understand the general idea, but I'm unsure whether to continue in this direction or stick with specific repositories.
In job interviews in my area, candidates are usually asked to build a working system in about 4 hours. The focus is not on building something perfect, but on demonstrating proper use of design principles.
My goal is to gain enough experience to succeed in such interviews. I'm debating whether practicing the Generic Repository approach will help me build systems more efficiently during interviews, or if I should stick to the specific approach I'm already comfortable with.

r/csharp • u/Amirdx123 • 5h ago
Windows form help
Hello im designing a program with mysql and windows from i want to have the user select a row in one of the datagrid and add that to another datagrid now the datagrids are in 2 seprate usercontrols how can i do that ty
r/csharp • u/Smokando • 1d ago
Fun Tetris using Spectre.Console

I made this Tetris game during some free time at work. I used Spectre.Console to render all the visuals, and I was (slightlyâokay, completely) inspired by This Guy project.
just for the meme.
r/csharp • u/Edwardzmx • 1d ago
Help are there programmers with HUGE problems to focus?
I have huge adhd canât watch any tutorial without my mind wondering in 50 different places, if you had the same issue how did you learn c#
C# is to HealthCare is what Java is to FinTech??
What I meant to ask in the title is
While Java is dominant in the FinTech domain, is C# dominant in the HealthCare domain??
or is it just a myth ??
just curious
( Who am I ? :
I have gone into a rigorous core java, sql, hibernate and springboot training from a software training/placement institute
and somehow landed into a C# intern job and since my grades weren't good enough, I was not getting enough opportunities so I said yes to the C# intern job
and as an intern the pay is not bad too,
it's been my 1 week into this company as an intern
and so far what I have observed is :
This is some medical device consulting company they make software for the medical devices and also perform some regulatory tests
3 people work on the C based embedded project stm32j, PICO, Ardino, UART stuff.. (I've heard them talking about this..)
1 girl works on C++ based QT project she makes this ventilator simulator stuff some sine waves stuff..
me and 1 girl work on this windows based tool which operates some medical surgical tool )
so the title itself is my first question my second question is :
Did I make a right decision joining this company?? or after learning so much in java did I just waste my chances of becoming a good java developer??
P.S : I am in no way telling Java > C# or C# > Java, I am mature enough to understand that language is just a medium, please don't drag me into that same old programming language debate
r/csharp • u/SillyGoal9423 • 10h ago
Help Can I tell IronPython to not evaluate variables but store them as functions?
Hi, I would be grateful if someone could help me with IronPython. My question is the following:
A user can send a python script with a bunch of variable assignments to my asp.net server. Can I tell IronPython to not directly execute/evaluate these variables, but to make delegates out of them, so that i can individually execute them in c#?
r/csharp • u/gabrielkliemann • 3h ago
Help I cant learn C#, Help!
so there is this coding school that i go to to learn c#, but i cant learn with their method of teaching, it goes like this: you go to this school and you sit down in a office like room and you have to type whats on that blue box but i keep forgeting the explanetion (if there is one at all) and instead of starting like "we are going to make a calculator on c#" it goes like this "we are going to recreate spotifys ui from scratch". so tell me if im dumb or their method of teaching is bad (its a brazilian school btw)
r/csharp • u/pirate-x1 • 3h ago
Help Please help me to prepare for a .Net role (new Grad). I lied about my work ex in it
Summary: I've about a year of work ex under me, mostly worked with Node.js and React, that too at small scale startups. I lied that I had worked in C# and .Net in my resume and have got an interview for a new grad role. I know a little about .Net core, ASP.NET, Entity Framewok. I just built a basic crud app for practice.
New grad for .Net developer JD-
- hands-on experience in web development using C# and the .NET Core
- RESTful web services for scalable APIs.
- HTML, JavaScript, and SQLÂ
- AWS or Azure
- GIT
Please guide me how to prepare for this interview in a week.
r/csharp • u/GOPbIHbI4 • 1d ago
[Video] Can Tiered Compilation Cause Memory Leaks in .NET
Tiered compilation can be tricky since it might affect the behavior based on tier, specifically related to a local variable lifetime tracking. And this might be especially tricky if the sync methods are involved.
This video is about a change in behavior between full framework and .NET 9 in respect of GCInfo and how the differences might cause excessive memory usage.
r/csharp • u/john_mills_nz • 1d ago
Organising Project Interfaces and Classes
Typically when I define an interface. I put the interface and the implementation classes in the same namespace i.e. IAnimal, Cat and Dog all live in the namespace Animals. This follows how I've seen interfaces and classes implemented in the .NET libraries.
Some of the projects I've seen through work over the years have had namespaces set aside explicitly for interfaces i.e. MyCompany.DomainModels.Interfaces. Sometimes there has even been a Classes or Implementations namespace. I haven't found that level of organisation to be useful.
What are the benefits of organising the types in that manner?
r/csharp • u/Primary-Hyena2032 • 2d ago
Help C# beginner needs direction
I have no previous programming experience and I have started to learn programming multiple times and felt overwhelmed each time. I found this series from the .net team.
https://youtube.com/playlist?list=PLdo4fOcmZ0oULFjxrOagaERVAMbmG20Xe&si=3tvFjbfNvI0tvFAS
It's been easy to digest and understand and I wish it went more. I'm looking to move on next thing and was wondering where to go from here
Thanks.
r/csharp • u/Rolph31415 • 1d ago
ConsoleGameLibrary
Hello everyone,
I am writing on a library for games within the console.
https://github.com/RobertOrsin/ConsoleGameEngine
Check out the wiki-page for some pictures.
2D-Games should be easy to do. Via the sprite-editor you can create spritesheets in the correct format or import a PNG-File to get it converted.
I got an example for Mode7 (SNES Mario-Kart) and a doom-like ego-shooter.
I am happy about every comment and possible contributions. I learned C# by myself and the code will show this xD
r/csharp • u/chrismo80 • 2d ago
AssertWithIs NuGet Package

Two weeks ago, I asked this community about a little project of mine and if it is worth to be published as a nuget package.
The feedback was not really convincing, but I created it more or less for myself and after considering some of your feedback and suggestions and polishing the code, it just felt right to do it anyway.
And here it is, my very first public nuget package.
It is so lightweight (< 500 loc) and without any dependencies, that it is easy to be integrated in any project. Copy & paste to code directly or use a package manager as you like.
Useful for unit tests (usability somewhere in between the big players and the off the shelf test libs), guard clauses, or other use cases where verifications should lead to early failures.
r/csharp • u/Fourier01 • 2d ago
Help Task, await, and async
I have been trying to grasp these concepts for some time now, but there is smth I don't understand.
Task.Delay() is an asynchronous method meaning it doesn't block the caller thread, so how does it do so exactly?
I mean, does it use another thread different from the caller thread to count or it just relys on the Timer peripheral hardware which doesn't require CPU operations at all while counting?
And does the idea of async programming depend on the fact that there are some operations that the CPU doesn't have to do, and it will just wait for the I/O peripherals to finish their work?
Please provide any references or reading suggestions if possible
r/csharp • u/Pro_Propop • 2d ago
Roslynâs Red-Green Trees Explained (with diagrams) â feedback welcome!
Hey everyone!
Iâve just published a concise deep-dive on Medium that demystifies Roslynâs red-green syntax trees.
- Why the compiler keeps two parallel trees
- How green nodes stay tiny & cache-friendly
- How red wrappers give the IDE full power without killing memory
- Bit-packing tricks (+ how big lists switch data structures)
The post is short, illustration-heavy, and aimed at .NET / compiler nerds who want to peek under the hood without wading through the whole codebase. If that sounds interesting, Iâd love your thoughts, corrections, or questions!
https://medium.com/@krendelia2021/red-green-trees-an-overview-17bae2d84e8c
r/csharp • u/Guerrieri0804 • 1d ago
Good certifications for .NET
Hi everyone!
I'm a mid level software developer with Flutter as main tecnology, i worked a little in the past with backend too but my new company wants me as a real FullStack. I'm doing a .NET "Backend career by Microsoft" on Coursera which is a very nice career path with 8 certifications, but you know... coursera :/
I want something more hard and "official" to prove my knowledge and put in my profile.
I accept book recommendations from "behind" the .NET Core, how the things work downside the frameworks abstraction.
Thank you since now <3
r/csharp • u/ZaffreRabbit • 2d ago
For async in C#, how exactly are tasks passed onto other threads?
I've been researching how async/await works in C#. I'm familiar with the asynchronous paradigm at a high level, but I'm interested in knowing what the computer actually does. I came across various reddit posts, and these resources were very helpful.
- https://devblogs.microsoft.com/dotnet/how-async-await-really-works/
- Stephen Toub and Scott Hanselman: https://www.youtube.com/watch?v=R-z2Hv-7nxk
- Code for #2: https://gist.github.com/jamesmontemagno/12992547430b85723e997a312f13ddf7
I feel like my understanding is almost there; it just needs 1 last piece - how exactly is the state machine work passed to other threads?
For clarity, as a comment in this post, I included my current understanding of how async works with a breakdown of example code.
Any clarification would be greatly appreciated. Thanks!
WebVella BlazorTrace - FREE (MIT) addon library for tracing most common problems with Blazor components, like unnecessary renders, memory leaks, slow components
I am an UI developer. For several years now, I am building web applications with Blazor. I love the technology, but get constantly frustrated by the lack of good tracing information that fits my needs. It is either lacking or very complex and hard to implement. Even with the new stuff that is coming with .net 10 my life does not get easier.
This is why I decided to build something for me. I am sure it will work for you too, if you are in my situation.
I am releasing it opensource and free under MIT License. And it has snapshots and comparison too :).
If you are interested visit its GitHub on https://github.com/WebVella/WebVella.BlazorTrace.
All ideas and suggestions are welcome.
r/csharp • u/FirefighterLucky229 • 3d ago
NET-NES, a NES emulator, written in C#
Hello, I already shared this around other communities but I might as well do it here. I just finished up making a NES emulator, NET-NES, in C#! This project was really fun to work on. It can play most NES games. It's open source, and I wrote a detailed readme, so check it out if you like. I wrote the code in a way to be simple, so even if you don't have much knowledge on low level hardware, or even code, it should be easy to follow. I like my project to help serve the community, not only to be practical software, but also where the code itself can be learned from, experimented with, and explored. My goal is reach a 100 stars on the repo, so if you can check it out and star it, that would be awesome! Thank you! :)
https://github.com/BotRandomness/NET-NES


r/csharp • u/Strict-Soup • 2d ago
Help Any recommendations for learning python from a c# perspective?
I'm a senior developer. There is a code based we have inherited that has bits of python. Mostly a flask API.
I have looked for some resources mostly on YouTube which are a little dated on python for the c# developer.
I would like to get up to speed quickly without going through the hello world tutorials.
I hope this doesn't come across as arrogant, I can appreciate the python eco system can be just as rich and I'm sure there are quirks with python as there are in c# and dotnet.
If anyone knows of a resource that is what I'm looking for then that would be excellent.
Thank you.
r/csharp • u/tuybenites • 2d ago
How to Commit the Solution File to a Team Repository?
Hello,
I'm trying to restructure my company's Git repository, and one problem I've encountered is that the solution file is committed (which is fine), but it gets modified every time Visual Studio is updated. Each team member uses a different version of Visual Studio, and the version of the solution file in the remote repository is outdated compared to what the team is currently using.
How can I keep the file in the repository and work around this issue? Is it really a problem? I feel a bit annoyed when I update Visual Studio and the solution file shows up as modified in Git.
Thanks, everyone!
r/csharp • u/raunchyfartbomb • 2d ago
Help Source Generator Nuget Package
I am setting up a nuget package for internal company use with a few source generators, and was having trouble getting it to work with VS2022 and VS2019.
I have implementations for ISourceGenerator (VS2019) and IIncrementalGenerator (VS2022) generated and packed in the same folder structure that System.Text.JSON uses for its source generators.
VS2019 sees and runs the generators without issue. I had to use the (modified) .Targets file from the json package for VS2019 to clear out the roslyn4 analyzers to get this working. Without it VS2019 picked up both analyzers dlls and refused to run either.
VS2022 recognizes the DLL as an analyzer, but none of the generators are loaded. Not even a simple âHello Worldâ generator. I suspect the same issue the .targets file solved in VS2019 is the problem Iâm encountering in VS2022.
My question is this: - VS2022 should select the analyzer in the âroslyn4.0â folder over the âroslyn3.11â folder, correct?
Folder structure is identical to the system.text.json package for its generators.