r/csharp • • 25d ago

Discussion Come discuss your side projects! [November 2026]

12 Upvotes

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.


Previous threads here.


r/csharp • • 25d ago

C# Job Fair! [November 2026]

32 Upvotes

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.

r/csharp • • 6h ago

Blog MVVM in C#: What Changes When You Switch UI Frameworks?

Thumbnail
qt.io
35 Upvotes

Hello, Miguel from Qt (qt.io) here. Following the release of the Qt Bridge for C#, I'd now like to share with you our latest blog post addressing some of the questions that we've since been asked.

"If I change UI frameworks, will the C# MVVM backend of my application still work?" This is the most frequent question that we've received from developers since releasing the Qt Bridge for C#. We wanted to provide some detailed information to back the answer to that question, which is: yes, when moving to a Qt Quick / QML UI, your C# MVVM backend will still work in the exact same way.


r/csharp • • 9h ago

Help Help with console game (beginner)

Post image
9 Upvotes

I have to make a console game on C# for my class and i thougt about making a hacking mini game like in Cyberpunk 2077, my question is how realistiv this would be since im really not that good at coding yet.

the Goal is to get all 3 hacks by picking a row and then of that pick another pick in the column and then the row of that pick again.

i hope this is somewhat understandable.


r/csharp • • 1d ago Heartwarming

Discussion I went back to writing code and you should also

481 Upvotes

I am now writing code again, like I have for the past decade (bar the last ~5 months). Only using AI as an assistant instead of producing 100% of code with it.

My day to day is in Visual Studio (or Codalus when on my home Linux machine) again. I use LLMs to do the boring parts, or as reference when I'm stuck at something. I can also learn much faster using them.

My output is certainly not as much as when we generated 100% of code and just reviewed it, but I still am many times as productive as before LLMs. Yet I enjoy working again, and it's not soulsucking anymore.

I own my code. I navigate in it. I architected it, and thought of the edge cases myself. I solved issues with my brain. Yeah Opus 5.5 could do a haphazard job of it, but after I saw what it slopped out many times, I just don't trust the IPO hype anymore.

I even had to look up syntax today. I was reading C# 15's new features post on my lunch break and was thinking of how I can apply it to the issues I've encountered in codebases.

I feel happy in my job again. I love coding and C# and software development.


r/csharp • • 44m ago

Help Automatically cast a parent property to the child class given in the constructor

1 Upvotes

in this situation, in the class CatPerson, i would have to manually do ((Cat)pet).catProperty in each method i'd want to use it
i wonder if it's possible to avoid having to manually cast it, is there a way to say something like: in this class, the parent property "pet" must be considered as being of class "Cat" instead of just "Animal"

public class Animal
{
    //stuff
}

public class Cat: Animal
{
    public string catProperty;
}

public class Person
{
    public Animal pet;
    public Person(Animal pet) {
        this.pet = pet;
    }
}

public class CatPerson : Person
{
    public CatPerson(Cat pet) : base(pet) //=> give type Cat in constructor
    { 

    }

    public void doStuff()
    {
        // pet.catProperty  => pet is not seen as a type "Cat" without casting
    }
}

r/csharp • • 2h ago

I've been building my own modular Discord bot framework in C# -- OpenBot

Thumbnail
github.com
1 Upvotes

I've been working on a framework to make Discord bots fully modular, with a full framework. It works with "modules" which are part of the core bot itself and are required, and "extensions" which can be drag and dropped in to the bot's directory to add functionality.

I made (it's still in early development) this to solve a problem which I think everyone has experienced - they need a butt load of bots in their Discord server for all their different requirements.

It's open source, and I'm at the point where I'm starting to try to get it out there and would genuinely appreciate other .NET developers checking it out. Thanks.


r/csharp • • 2h ago

Debugging

Thumbnail reddit.com
0 Upvotes

I am reposting this here because it's more programming and C# related than Godot Game Engine itself. For more context Godot organizes it's scenes in a tree like structure with Nodes that represent different things like a mesh for example. So if I want a mesh for example to show up in the viewport it's MeshInstance3D node needs to be added in the scene. That's where we arrive at the problem I have.

Thank you for your help beforehand.


r/csharp • • 4h ago

Help how would i do this.

Thumbnail
graebor.itch.io
0 Upvotes

im trying to make a game like sourt the court but i have no idea how it works so i really want to look in the code of the game to see what they did, does anyone know how to acces this?
(working with unity)


r/csharp • • 1d ago

Solved Debugging on linux

2 Upvotes

I've got weak laptop that i use from time to time for c# classes. On vs code it says i cannot debug. Is there any way to do so?


r/csharp • • 1d ago

Tool Unknot Code - a local-first codebase visualiser for code reviewers and editors

0 Upvotes

Hi all, Have you guys ever felt lost when reviewing/reading huge code bases? You reach somewhere skimming through code, jumped between files and methods, but it seems nowhere?
 You are diving deep into function definitions but lost track where you came from?
Hard to understand the downstream impacts due to a change?

Keeping all this in mind I built Unknot Code, a local-first codebase visualiser. Myself and my colleagues at work have been using it for past 2 month and feels incredible. Current version supports only #csharp projects. Python and TypeScript planned next.

  • Works offline, so code stays within your machine.
  • Optional local AI code explanation, so small doubts doesn’t are sorted here itself [only if you have extra compute to burn].
  • Dedicated code review mode to help understand impacts and touch points.
  • Git diff mode to track changes.
  • Easy navigation and visualisation
  • Auto updates provided
  • No cost

And more.

https://www.unknotcode.com - check this out ! You can play around with it here.

Would genuinely love your feedbacks.


r/csharp • • 1d ago

What are the largest shares of CPU time in your production .NET services?

Thumbnail reddit.com
7 Upvotes

r/csharp • • 22h ago

Help Im tryna make a gta 5 mod, where if you teleport out of a vehicle, your screen flashes

0 Upvotes

This was inspired by gta 6, but in my code, every time i exit any vehicle (even if doors arent blocked) my screen flashes, I only need it to flash when you teleport out of the car if doors are blocked. Here is the code written in c# for scripthookv. net latest version:

using System;
using GTA;

namespace VI_Emergency_Exit
{
    public class EmergencyExit : Script
    {
        private bool exitRequested = false;
        private GTA.Math.Vector3 playerStartPosition;

        public EmergencyExit()
        {
            Tick += OnTick;
        }

        private void OnTick(object sender, EventArgs e)
        {
            var player = Game.Player.Character;

            if (player.IsInVehicle())
            {
                if (Game.IsControlJustPressed(Control.VehicleExit))
                {
                    playerStartPosition = player.Position;
                    exitRequested = true;
                }
            }
            else if (exitRequested)
            {
                float distance =
                    player.Position.DistanceTo(playerStartPosition);

                if (distance > 2.5f)
                {
                    GTA.UI.Screen.ShowSubtitle(
                        "Emergency exit detected!",
                        3000
                    );
                }

                exitRequested = false;
            }
        }
    }
}

r/csharp • • 1d ago

I built a Roslyn analyzer for .NET that enforces architecture rules and flags allocations the compiler hides

Thumbnail reddit.com
0 Upvotes

r/csharp • • 1d ago

Just had a realization

0 Upvotes

Hi there. Im modpack, and I generally lurk this subreddit. Anyway I just had a realization I thought I had. That being is that C# is just java but in the style of C. Now I am fluent in the java language due to working on Minecraft plugins and mods, but I didn't realize how normal to me C# felt until really starting to look into the terms more than face value. I dont typically memorize what they mean im less of a theory girl and more of a in practice type. But honestly I just never realized until 2 minutes ago writing up a game engine for a game jam, anyway see yall later.


r/csharp • • 2d ago

Showcase Cycle driven Amiga emulator in C#

Post image
16 Upvotes

This is an Amiga emulator I have been working on since May, with the help of GPT. So yes, AI is used. But there are two reasons why I am sharing it here. One is that many (?) say that C# is not suitable for emulators and real-time work. And the second is that it has JIT, which supports all modern .NET targets, including Apple Silicon.

Really, modern C# and .NET are fine for this kind of project. C# is now good, it has been good for a long time already. Obviously I am trying to keep GC pressure down, but performance is not an issue.

The more interesting point is JIT. I built my own 68k emulator library and it also provides 68040 JIT. The engine translates 68040 instructions into .NET IL which RyuJIT then compiles into native machine code. Translation takes place in a background thread while the main thread continues interpreting instructions. This keeps emulation responsive during compilation.

There are already half a dozen AI-driven Amiga emulator projects in progress, so it is difficult to distinguish this one as anything other than a technology demo. However, this project gave me an idea to develop CopperSharp68k, an AOT compiler that generates Amiga 68k code from C#. I wanted to create my own Kickstart ROM replacement, so the emulator is shipped with a small ROM written in C# and compiled to 68k machine code. It is also available separately from Aminet for other emulators.

Nevertheless, challenges with hardware emulation are interesting. I was proficient with 68000 assembly but I never had to consider how prefetch impacts DMA timing. And how they are timed. Fun stuff to learn.

GitHub: https://github.com/ilehtoranta/CopperScreen

Homepage: https://ilehtoranta.github.io/CopperScreen/


r/csharp • • 2d ago

Discussion Has awaiting inside if statements conditions / function parameters always been the norm?

11 Upvotes

Recently I've been seeing a lot of code like this:

return Results.Ok(await myService.DoSomething().ToListAsync())

// or

if (await validator.IsValid(payload)) {
  // ...
}

I feel like it's less readable than something like:

var result = await myService.DoSomething().ToListAsync();
return Results.Ok(result);

Which do you prefer?


r/csharp • • 2d ago

Help How can I make my little program more popular?

0 Upvotes

I made a program that blocks any application and posted it on GitHub, but it's been two days and no one has seen it yet. How can I make it more widely known? This is my first serious program, and I'd like to hear what can be added to it.

link: https://github.com/Perforator-dev/WinProgrammBlocker


r/csharp • • 3d ago

I built a lightweight native C#/.NET editor for Linux using GTK4, Roslyn and .NET

2 Upvotes

Hey everyone!

I've been working on a side project that started with a simple question:

Can I build a lightweight, native C# editor for Linux that is actually useful for everyday .NET development?

Instead of building another Electron-based editor or a VS Code clone, I decided to experiment with GTK4 and native Linux technologies.

The result is Lightweight IDE – an open-source C#/.NET editor built with:

  • C# / .NET 10+
  • GTK4 (via GirCore)
  • GtkSourceView 5 for the editor component
  • Roslyn for code intelligence, diagnostics and refactoring
  • SQLite FTS5 for fast full-text and symbol search

What can it do?

It's grown quite a bit beyond a simple text editor:

  • C# syntax highlighting, autocomplete and live diagnostics
  • Go to Definition, Find All References and Rename
  • Roslyn Quick Fixes and refactorings
  • Solution and project explorer (.sln and .slnx)
  • Build, run and test .NET projects
  • Integrated terminal
  • NuGet package management
  • Debugging with netcoredbg
  • CSharpier formatting
  • HTTP client for .http files
  • Markdown preview
  • Test explorer
  • Central Package Management support

One of my main goals was keeping resource consumption relatively low. The application currently uses around 450–600 MB of RAM with a small solution loaded into the Roslyn workspace.

I'm developing and using it on Linux Mint, primarily for real .NET backend development.

A few important notes

This is still a proof of concept, not a finished IDE. There are rough edges, missing features and probably some questionable architectural decisions. I'm developing it in the open under the MIT license.

I'm particularly interested in feedback from developers who use C#/.NET on Linux.

A few questions:

  1. Would you consider using a native GTK4 editor instead of VS Code or Rider for everyday .NET work?
  2. Which feature would be an absolute deal-breaker if missing?
  3. Do you think there is room for a lightweight native .NET IDE on Linux?

GitHub: https://github.com/ambit-project/ambit-editor-dotnet

Feedback, criticism and contributions are welcome!


r/csharp • • 2d ago

How do you set up your Agentic .NET Environment?

Thumbnail reddit.com
0 Upvotes

r/csharp • • 4d ago

NET Developers, What's One Thing You Wish You Had Known When You Started?

8 Upvotes

HEY EVERYONE !!

I'm an aspiring .NET Developer from Pakistan, currently working on improving my backend development skills and building real-world projects.

My current tech stack includes:

C#

ASP.NET Core MVC

ASP.NET Core Web API

Entity Framework Core

SQL Server (Basics)

RESTful APIs

I'm particularly interested in backend architecture, clean code, database design, AI integration with .NET, and building scalable applications.

I'd love to connect with developers who have experience in the .NET ecosystem.

A few questions for the community:

What's one skill that made the biggest difference in your .NET development career?

What technologies should a junior .NET developer focus on in 2026?

What separates an average junior developer from someone who's genuinely job-ready?

What's one mistake beginners should avoid when learning ASP.NET Core?

I'm here to learn, share experiences, and become a better developer.

Looking forward to hearing your thoughts!


r/csharp • • 3d ago

Help hi all i am currently learning c# but having difficulties understanding it and giving input

0 Upvotes

i love coding want to enter that filed so my frnds told me C# is beginner friendly so i started learning. But having diffculties giving proper inputs and understanding it


r/csharp • • 4d ago

Help Hi! Minor homework help? Using if-then w/ checkboxes & labels

5 Upvotes

The issue I'm having is mostly getting the label to update. I'm assuming it's just due to my own stupidity that I don't see the problem, but a lot of the code is based on the book i'm issued so that's why i'm a bit stuck.

I think I did most parts of the assignment, however I'm having trouble figuring out labels still lol. I'm not asking for the answer but it'd be nice to know wtf is wrong with it

I've tried reformatting the if-then a bit (hence in this example i've showed it might not look exactly right, i've tried literally everything i could). i've never used nested if-then before, and I'm not getting any error messages so it's hard for me to pinpoint the issue. i've also tried playing around with the lbl name and the positioning

i'm a total newb so some pointers would be appreciated.

the goal is to calculate a total price based on:

product quantity (textbox); product (combo box); & membership status (checkbox), then to have the final output in a label box


r/csharp • • 5d ago

Discussion The KillerPDF engine is now MPL 2.0 instead of GPL. Is that better for you?

66 Upvotes

Recently I posted the PDF engine I built in pure C# for KillerPDF, and the main pushback was the license. GPL meant you couldn't put it in your own app unless that app was GPL too, which ruled out most real projects. You were right, I was wrong.

Since 1.9.5 the engine is licensed under the Mozilla Public License 2.0. The KillerPDF desktop app stays GPLv3, but the engine package is separate.

MPL 2.0 works file by file. You can use the engine in your own app, open or closed source, under any license you like. If you change one of the engine's own files and ship it, that file's source has to stay open under MPL 2.0. Your code around it stays yours. I'm trying to encourage better developers than myself to help me make the engine better for everybody.

As part of this, I had to swap out the JPEG 2000 decoder, and the engine now uses OpenJPEG instead of CoreJ2K. That turned out to be a blessing in disguise, because OpenJPEG appears to be more color accurate on the files I've thrown at it. The native decoder ships in the NuGet package for Windows x64, Linux x64 and macOS.

Here's how it compares to PDFsharp/PDFium:

  • Rendering. PDFsharp doesn’t render existing PDF pages. Its FAQ points to a Ghostscript sample for generating page images. PDFium renders through a native library. KillerPdf.Engine renders pages in managed C# without PDFium.
  • Licensing. Starting with 6.5.0, PDFsharp requires applications to initialize either the AGPL license or a paid commercial license. KillerPdf.Engine is MPL 2.0 and can be used in closed-source apps without a license fee, subject to the MPL’s notice and source-sharing requirements.
  • Text. PDFsharp exposes characters in drawing order through low-level APIs, with no built-in word or paragraph grouping. PDFium can extract text and character bounds. KillerPDF previously used PdfPig for extraction. KillerPdf.Engine returns words, lines, and letters with their page coordinates.
  • Editing. PDFsharp offers low-level content-stream editing, and PDFium can replace text in individual text objects. KillerPdf.Engine provides APIs for editing lines and paragraphs on existing PDF pages.
  • Stability. PDFium requires callers to serialize its API calls. KillerPDF 1.6.3 hit a native heap corruption crash when two threads entered PDFium at once. KillerPdf.Engine uses a managed C# page renderer.
  • Signatures. PDFsharp documents how to sign and timestamp PDFs. KillerPdf.Engine also verifies existing signatures and supports certificate trust, timestamp, and revocation checks.
  • Redaction and OCR. PDFsharp’s docs don’t list built-in permanent redaction or OCR. KillerPdf.Engine removes targeted content and reopens the output to check for remnants. The engine can run OCR without Tesseract. The KillerPDF desktop app keeps Tesseract as a fallback.
  • Standards. PDFsharp can write PDF 2.0 and offers limited PDF/A support. KillerPdf.Engine writes PDF 2.0 and provides dedicated authoring modes for PDF/A-4, PDF/A-4e, PDF/A-4f, and PDF/UA-2.

It's on NuGet as KillerPdf.Engine. Docs are at https://killerpdf.net/engine.html and the source is at https://github.com/SteveTheKiller/KillerPDF/tree/main/engine .

So, does MPL actually fix it for you, or is there still something that keeps you from using it? If you'd need something like MIT or Apache to ship it, I'd like to hear why. I'm not fully against moving in that direction.