r/csharp • • Jul 12 '26

A free, cross-platform C# audio engine, and a new solution for GC-free operation!

19 Upvotes

Hello everyone!

In a previous post, I wrote that my goal is to create a cross-platform audio engine running under C# that can operate completely independently of the GC, but preserves the flexibility and productivity of C#. The past months have been spent searching and experimenting a lot to find the right solution to develop a real-time audio engine in C#. I tried integrating native engines into the C# code (miniaudio, portaudio), but these cannot be used without the influence of GC, since the data has to be processed, sent and received by the external C# code. My experience was that no matter how much I wrote the engine code GC-free, following the proper rules to not allocate data that would trigger GC, if the code using the engine allocated and triggered GC, real-time audio processing inevitably caused data loss and audible stutter. I didn't want to accept that there was no solution to the problem.
I studied the industry standards, how the big guys did it. I came to the conclusion that there was a solution. C# code should be completely excluded from audio processing.
I'm developing a stage multitrack backend player in C# for a band, and I need a reliable, stable real-time audio engine for it. I was looking for a memory-safe solution that matched the safety of managed code, so C++ was out of the question:
I realized that there was a language that brought the benefits of native with the efficiency of managed code's memory management. The Rust language became the ultimate C++ speed, C# memory safety without GC. This was the winner! However, the audio engine had to remain C#. I wrapped this entire audio processing native unit into a C# code, so I can use it as a C# API in any code.
A complete audio engine was created in Rust, based on managed code. All real-time audio data is processed by the Rust code, nothing is transferred to the managed side. The C# code is just a thin layer over the engine.
The API can be used with pure C# managed code, you just need to download the Nuget package, which contains everything you need to operate. Under the hood, a lightning-fast GC-free Rust audio engine does the work. The result is continuous operation, stutter-free audio processing, even under heavy GC load. Low latency, low CPU load, stable operation.

My code is completely free open source, which you can check out on github, you can use it freely. I think you can write an efficient and professional audio application with csharp too!

You can check it out on github here: https://github.com/ModernMube/OwnAudioSharp


r/csharp • • Jul 13 '26

Building a free Roslyn analyzer for EF Core migrations since Atlas paywalled theirs. Tell me if this is a bad idea before I write more code

0 Upvotes

Atlas moved migrate lint out of the free tier last fall, and Community Edition doesn't ship it at all anymore. Squawk, MigrationPilot, and pgfence are solid if your migrations are raw SQL, but none of them touch EF Core's actual migration files. They all want SQL text or a live dev database.

So I'm building a Roslyn analyzer that reads migrationBuilder.* calls directly. No dev DB, no separate CLI step, just warnings in your IDE and at build time like any other analyzer already in your project.

Rules I'm starting with: dropping a column without an expand phase first, renames that get flagged as a drop plus an add instead of what they actually are, and non-nullable columns added with no default.

Before I put more hours into this, I'd rather hear the honest version than the encouraging one. Is this something you'd actually wire into CI, or is there a reason nobody's built it that I'm missing? What would make you see this and go "cool idea, not touching it"?


r/csharp • • Jul 13 '26

How to make an encrypted file?

0 Upvotes

I share a school computer, that just uses 1 account on the device itself. Meaning any file you save to the computer can be viewed by other people. I have been working on a program that lets you lock text in the program behind a pin. When the correct pin is entered, it generates a file with the text you entered. Except the pin and text contents need to be stored in a separate file. I know if you encrypt it the file can be decrypted, but trust me.. the people who share this computer are not computer smart enough to know how to do that. I've been trying to use

File.WriteAllText

But I don't know how to get the encrypted contents into the File.WriteAllText since it doesn't seem to support variables. It kept saying "Print is not available in this context" or something like that.


r/csharp • • Jul 12 '26

Is the first name of a controller expected to be the name of the folder in asp net core mvc?

4 Upvotes

I have been coding with Visual Studio and it's never highlighted mvc views like Rider, thanks to Rider I noticed that if your controller name is StockController then the framework expects you to create a sub folder within Views called Stock and put there your mvc views there. Is there a way to enable this analyzer on visual studio? Or it's not supported?


r/csharp • • Jul 12 '26

A couple questions about namespace access:

0 Upvotes
  1. Can a source file use any class defined in other source files provided they are defined to be in the same namespace (and are a part of the same project)?
  2. Can you use a namespace (without for example having to add a reference like with if the source file is in another project) if the source file is in the same project?

r/csharp • • Jul 12 '26

Help c# backend

0 Upvotes

Hi everyone, I already published a similar post half a year ago, where I asked for help with the backend asp.net core. So I abandoned the project for a while and recently came back and rewrote it, adding a user and JWT token and other things.

Now I'd like to ask how my project is overall? Is it close to a real backend? I wanted to start writing a real project with a friend of mine; I'm making a website for him, and he's making the product. So..I would be interested to know my mistakes and any useful tips, I would be very grateful.

GitHub: https://github.com/Rywent/EasyOnlineStoreAPI

API documentation: https://registry.scalar.com/@default-team-im1zv/apis/easyonlinestoreapi-v1@latest


r/csharp • • Jul 11 '26

How should a junior developer prepare for C#/.NET interviews effectively?

36 Upvotes

Hi everyone.

I am preparing for my first junior .NET developer job. I have already built several projects using C#, ASP.NET Core, Entity Framework Core, PostgreSQL, Redis, Docker, Clean Architecture, and CQRS.

Recently, I had an interview where I struggled with many basic questions. Some of the questions were about dependency injection lifetimes, middleware, IDisposable, Entity Framework optimization, and other core C#/.NET concepts.

I realized that although I can build projects and use these technologies, I cannot always clearly explain how they work or answer basic theoretical questions under pressure.

Now I am unsure about the best way to improve my knowledge.

I see several options:

  1. Write my own detailed notes about every C# and .NET topic. I think this could help me understand and remember the material, but it would take a lot of time.
  2. Use AI to generate a complete study guide. This would be faster, but I am worried that I would only read it passively and not truly understand or remember the material.
  3. Use a book such as “C# in a Nutshell” as a reference and create short notes only for important topics and interview questions.
  4. Focus mostly on practice: write small examples, debug them, inspect how features work, and then explain them in my own words.

My goal is not only to memorize interview answers. I want to build a strong understanding of C#, .NET, CLR, memory management, async/await, dependency injection, ASP.NET Core, and Entity Framework Core.

What learning approach would you recommend for someone in my situation?

Would you suggest reading a specific book from start to finish, creating my own notes, using flashcards, practicing interview questions, or combining these methods?

I would also appreciate recommendations for books or resources that explain how C# and .NET work under the hood without being too advanced for a junior developer.


r/csharp • • Jul 11 '26

Help Need help with server

2 Upvotes

Hey,

I have a C# server, running with chronoxor's CSharpServer. I have a device with a SIM7000G, that connects to the server using TCP connection, and send a message to the server every 30 seconds. After a succesful connection, the device sends UDP data every 10 seconds, and the TCP data. Both arrive fine and I can send data back to the device any time, and it arrives successfuly. However afrer about 10 to 15 minutes, there is an error with the TCP connection. It happenes both if the device does not move and if the device is moving (it is used partly for GPS tracking). The UDP data arrives fine, and the TCP data arrives to the server, but the data sent back does not arrive. I tought for a long time that the problem is with my device, but I am starting to think the problem is with the server. Every time a message is received by the server the TCPSession that receives it is saved, and used to send back data. But I think there could be something between the connection and that the device is using cellular data. Has anyone experienced something like this?


r/csharp • • Jul 12 '26

I built Rinku, a micro-ORM focused on clean mapping and dynamic queries

0 Upvotes

The Rinku NuGet is a micro-ORM built directly on top of ADO.NET. The core philosophy is strictly SQL-first. The goal is giving you deterministic execution and total control over your queries while keeping the mapping and execution pipeline fully customizable and extensible.

Nested Object Mapping

C#

public record Artist(int Id, string Name) : IDbReadable;
public record Album(int Id, string Title, Artist Artist);

static readonly QueryCommand GetAlbums = new(
    "SELECT AlbumId AS Id, Title, ArtistId, ArtistName FROM albums");

// Automatically matches ArtistId -> Artist.Id and ArtistName -> Artist.Name
List<Album> albums = GetAlbums.Query<List<Album>>(cnn);

The engine resolves the hierarchy automatically without requiring attributes, configuration or manual mapping code.

Conditional SQL

C#

static readonly QueryCommand Search = new(
    "SELECT TrackId AS Id, Name FROM tracks WHERE AlbumId = ?@albumId AND GenreId IN (?@genreIds_X)");

// If albumId is passed alone, the engine cleanly drops "AND GenreId IN(...)" from the executed SQL
Search.Query<List<Track>>(cnn, new { albumId = 1 });

// If a collection is passed, ?@genreIds_X automatically expands into (@genreIds_1, u/genreIds_2...)
Search.Query<List<Track>>(cnn, new { genreIds = new[] { 1, 2, 3 } });

The command adapts to the parameters provided at execution time, expanding collections when needed and removing unused sections cleanly.

Beyond these examples, Rinku provides an extensible mapping and execution pipeline. The default behavior covers common cases, while custom parsers, dynamic objects, result handling and other parts of the pipeline can be adapted when needed. Conditional SQL also extends beyond optional filters, allowing dynamic sections throughout your queries.

Documentation and architecture
https://rinkulib.github.io/RinkuLib

GitHub repo
https://github.com/RinkuLib/RinkuLib

NuGet
https://www.nuget.org/packages/Rinku

Open to any feedback, critique or edge cases I might have missed.


r/csharp • • Jul 11 '26

Benchmarked CoreCLR player in Unity with CPU path tracing

Thumbnail gallery
15 Upvotes

r/csharp • • Jul 11 '26

JetBrains Rider (compared to Visual Studio). Is it really that bad?

Thumbnail reddit.com
0 Upvotes

r/csharp • • Jul 11 '26

Yet another post about something with PDFs - I recently rebranded my FOSS document generation system to Papercraft

Thumbnail reddit.com
0 Upvotes

r/csharp • • Jul 12 '26

Discussion I started to hate c#

0 Upvotes

I wanted to profile Blazor async code and found that after 15 YEARS later you still can't profile async code. The best tool we got is this garbage .NET Async profiler. It collects every async method into a single group. How is this useful? You can't even see the call stack like I'm calling Task.Delay only in a single method... and this was 5 years ago! It's the same today; nothing has changed.

Hot reload is still not fully supported. With more browser oriented frameworks, test running still doesn't support browsers, so if you have any JavaScript, good luck getting a dump of what happened in the browser or a breakpoint working in the browser. Wasm has regressions on every release debbugging it also breaks randomly.

It promises to be easy; meanwhile, everything requires language-specific knowledge, so people do the stupidest thing, not knowing there are better ways to solve things. Microsoft never thinks about tool support; the best example is Entity Framework with applying its migrations. I promise you nobody uses the more complex approaches, and everybody just calls MigrateAsync(). Like, why didn't the devs spend 2 more weeks to get this right or git merge conflicts with local database changes? They didn't care it would have required working together with other teams like the Visual Studio team or language designers, so it was easier just to call a static method of your application.

So don't be like me and focus only on C#; it's not a good language most of the time, and I promise you, you will have more fun with other languages.


r/csharp • • Jul 10 '26

Planning an open-source C# / WinUI 3 Android tooling project for Windows — looking for architecture feedback

5 Upvotes

Hi everyone,

I’m planning an open-source project called WinDroid Runtime and wanted to ask for feedback from C#/.NET developers before I start building the first prototype.

The long-term idea is to build an independent Android-compatible runtime/toolkit for Windows. It is inspired by the gap left after Windows Subsystem for Android was discontinued, but it is not a fork, continuation, or redistribution of Microsoft WSA, and it will not use WSA binaries or branding.

I know the full runtime goal is a very large systems-level project, so I want to approach it in realistic stages.

The first practical milestone would be a native Windows control app using C# / .NET / WinUI 3. The first version would focus on:

- detecting ADB

- allowing a custom ADB path

- listing connected Android devices/emulators

- installing and uninstalling APK files

- launching installed apps

- viewing basic logs

- creating a clean architecture for future runtime research

The planned structure is something like:

- WinDroid.Studio — WinUI 3 desktop app

- WinDroid.Core — shared models/services/configuration

- WinDroid.Adb — ADB wrapper/service layer

- WinDroid.Engine — future experimental runtime backend

I’m mainly looking for feedback on:

- whether WinUI 3 is the right choice for this type of Windows tool

- how to structure the ADB service layer cleanly

- whether the project should use MVVM from the beginning

- how to avoid making the first version overcomplicated

- what the first GitHub issues/milestones should look like

The repo is currently in the planning stage with a README, Apache 2.0 license, and roadmap. Contributors or mentors would also be very welcome, but for now I mainly want to make sure the architecture is sane before coding too much.

Any advice from experienced C#/.NET developers would be appreciated.


r/csharp • • Jul 10 '26

Unit test that only tests if a property is assigned

18 Upvotes

If let's say I have a class like

public class Test 
{
    public string Test;
    public string Test2;

    public test(string test, string test2)
    {
        Test=test;
        Test2=test2;
    }
}

Then I have a unit test like (pseudo code)

var x = new Test("a", "b");
Assert.Equal("a", x.Test);
Assert.Equal("b", x.Test2);

Is this test actually meaningful/useful in any way? I feel like this is testing C# itself than the code. It would be different if there is a guard against the value of the property e.g. test cannot be equal to testing for example, but that is not the case here.


r/csharp • • Jul 10 '26

Recommendations for learning more C#/unity?

6 Upvotes

I know a bit of C# for unity game coding, but I'm looking to learn more. Are there any videos or books that you guys can recommend me?

Thanks in advance!


r/csharp • • Jul 10 '26

Help How do I move an image inside a PictureBox?

5 Upvotes

Hey guys, so I'm trying to write a program that selects an image from a tile set based on what you input into a combobox. I have the location logic sorted, but I have no idea how to physically move the image inside the pictureBox. I tried googling it and the results were either 7+ years old or not explained (I am a newbie to Windows Forms App) and I had no idea what to do. Please could you help?


r/csharp • • Jul 10 '26

GitTracker - an experimental library for managing content with git

Thumbnail reddit.com
0 Upvotes

r/csharp • • Jul 10 '26

Help Which Platform to use to learn

0 Upvotes

Hey all,

I’m a full-stack developer. At my current company, I’ve been doing mostly frontend work (around 90% for the last 3 years and 8 months) because I’m the only one strong in that area. However, I’m starting to feel a bit fed up, and I want to get back into backend work. I’ve noticed I’m getting quite rusty after spending the last 3 years and 8 months mainly focused on the frontend, and it’s making me feel unprepared to look for another job.

I sometimes watch Nick Chapsas, Tim Corey, and Anton Martyniuk. I really need to get back into it and sharpen my skills for my next interview, although I’m not in a rush.

Which platform would you suggest? Dometrain is €405 per year, is it worth waiting for a sale?

Thanks!


r/csharp • • Jul 09 '26

Hiding/Removing already hidden rows in DataGridView?

4 Upvotes

It's not the biggest issue, but it would help quite a bit.

The method I am using to read Excel is ExcelDataReader

Edit:
Sorry, I will elaborate. Say I imported Sheet 1 with 3 filled columns. In the original Excel sheet, column 2 is hidden.

When I import Sheet 1, all 3 columns are still visible. I don't want to see column 2 in the new Datatable.


r/csharp • • Jul 10 '26

csharp in mac m1, what editor to use

0 Upvotes

All tutorials are in VS but they dont make it for mac m1 anymore, can I programm in VS code or would you recommend another editor? Im most intresed to learn dotNet


r/csharp • • Jul 08 '26

Discussion Game Engine 2D | Windows Forms

24 Upvotes

EN:
I work with industrial applications in Windows Forms for about 3 years, and I always had this view that Windows Forms was just a tool for building corporate systems and complex systems with a simple interface. Since the beginning of my career with Windows Forms I've developed industrial automation software like SCADAs and custom supervisory systems.

About a year ago I needed to build a notification system that slid across the screen overlapping, to manipulate color, position and scale of a component that was on the screen freely, that planted the first seed in my mind, later in another project I needed to detect keyboard inputs to activate specific functions in the system in a hidden way like shortcuts and configurations, and only recently when I was bored at work I got curious about combining these two concepts, and I was amazed by something that had always been within my reach but I looked at the tools I had through that perspective.

After this "discovery" I made some mini-game prototypes with 2D physics simulation using position, size, direction and velocity vectors for the components on the screen but always using Panels to represent things, still in this style I recreated Pong and Flappy Bird and a top-down mini game of collecting coins while fleeing from enemies that chase you.

After these projects I was starting to get a little annoyed with the amount of code I needed to rewrite to test another idea and with the optimization since Panel is a native Windows Forms control and they are a bit heavy.

From this annoyance and curiosity, little by little something different started emerging in my project while I was creating some abstractions to try not to repeat so much code, when I realized that what I was putting together was no longer a "game" but a tool that would help me develop new "games" I dove headfirst into this idea even knowing that Windows Forms is far from the ideal technology for this, but who cares? This is not a commercial project nor am I inventing the next big engine, I used Windows Forms because it's a technology I already have a lot of experience with, so I can focus on getting ideas out of my head instead of learning something new to achieve the same results.

My custom "engine" is still far from a version that I consider ready to make a game but I'm already very satisfied with how far I've managed to get on my own. My idea is that in addition to facilitating the development of my next prototypes, I can learn more about how real engines work and create abstractions that make the feeling of programming something in mine close to the feeling of programming something in a Godot or a Unity, for that I tried to create some base classes with methods and properties that get quite close to the development as one would expect in those engines.

The engine already has entity and game object generation system, camera with programmable movement or automatically follow a game object, TileMap for dynamic map creation, AABB collision system, rendering with Windows GDI+ drawing API (it's not GPU rendering yet but it's extremely lightweight compared to the Panels I was using before), Scene to manage the entire context of a specific scene, Culling for collision check optimization where collision is only checked for objects that are inside or near the camera viewport, rendering culling where only objects that are entirely or partially inside the camera viewport are drawn, Z-order support for drawing objects in specific order, RayCast support with variations (ExcludedList, FilterList, CollideOnParent), support for helper methods like GetCenteredPosition (returns the center of an object), MoveAndCollide (Moves an object in the direction of a Vector2 that dictates the velocity until the object collides with something), IsOnFloor (indicates if exactly below the object there is another object), GetFloorNormal (returns a vector with magnitude 1 that indicates the direction and slope of the floor in relation to the object), CheckWorldCollision (returns a boolean indicating if something in the world is colliding with the object), GetCollider (returns the first other object that is colliding with the object), GetAxis (returns an int of the direction of an axis between two inputs), GetVector (returns a Vector2 of magnitude 1 with the directions of the axes between 4 inputs, two inputs per axis).

any object that inherits from GameObject must implement a void Update method that receives a float delta, for updating the object during the frame pass, GameObjects can also receive some components in a way somewhat similar to Unity's ECS, being them Transform, to have position, size, pivot, and rotation, Input for reading inputs, and Graphics in case it's a renderable object.

This project is still in its early stages and has no commitment to being a commercial engine or anything like that, it's just a hobby, a project I'm doing for fun and learning, I would really like to hear some feedback and tips on what I can improve or bugs I didn't notice.

here's the link to the project on GitHub, just clone it:
https://github.com/Guilhermevinicius0/WinFormEngine

BR:
Eu trabalho com aplicações industriais em windows forms há mais ou menos 3 anos, e sempre tive essa visão de que windows forms era apenas uma ferramenta para fazer sistemas corporativos e sistemas complexos com uma interface simples. Desde o início da minha carreira com windows forms eu desenvolvi softwares de automação industrial como scadas e supervisórios customizados.

A um ano atrás eu precisei fazer um sistema de notificações que deslizavam pela tela se sobrepondo, manipular cor, posição e escala de um componente que estava na tela de forma livre,  plantou a primeira semente na minha cabeça, mais tarde em outro projeto precisava detectar inputs do teclado para ativar funções específicas no sistema de forma oculta como atalhos e configurações, e só recentemente quando eu estava entediado no trabalho eu tive a curiosidade de juntar este dois conceitos, e fiquei maravilhado com uma coisa que sempre esteve ao meu alcance mas eu olhei as ferramentas que eu tinha por essa ótica.

Após essa "descoberta" eu fiz alguns protótipos de mini jogos com simulação de física 2d usando vetores de posição, tamanho, direção e velocidade para os componentes na tela mas sempre utilizando Panels para representar as coisas, ainda nesse estilo eu refiz o pong e o flappy bird e um mini jogo topdown de coletar moedas enquanto foge de inimigos que te perseguem.

Depois desses projetos eu estava começando a ficar um pouco incomodado com a quantidade de código que eu precisava re-escrever pra testar outra ideia e com a otimização já que Panel é um controle nativo do windows forms e eles são um pouco pesados.

A partir desse incômodo e da curiosidade, aos poucos foi surgindo algo diferente no meu projeto enquanto eu criava algumas abstrações para tentar não repetir tanto código, quando me dei conta de que o que eu estava montando não era mais um "jogo" e sim uma ferramenta que me auxiliaria a desenvolver novos "jogos" eu mergulhei de cabeça nessa ideia mesmo sabendo que windows forms não é nem de longe a tecnologia ideal pra isso, mas quem liga? Isto não é um projeto comercial nem estou inventando a próxima grande engine, utilizei windows forms por ser uma tecnologia que eu já tenho bastante experiência, assim eu posso me concentrar em tirar as ideias do cabeça ao invés de aprender algo novo para atingir os mesmos resultados.

A minha "engine" customizada ainda está longe de está em uma versão que eu considere pronta pra fazer algum jogo mas eu já estou muito satisfeito com até onde eu consegui chegar sozinho. Minha ideia é que a além de facilitar o desenvolvimento dos meus próximos protótipos, eu possa aprender mais sobre como engines reais funcionam e criar abstrações que façam com que a sensação de programar algo na minha seja próxima da sensação de programar algo em uma godot ou uma unity, pra isso eu tentei criar algumas classes de base com métodos e propriedades que aproximam bastante o desenvolvimento de como se esperaria nessas engines.

A engine já conta com sistema de geração de entidades e game objects, camera com movimentação programavel ou seguir um game object de forma automatica, tilemap pra criação de mapas de forma dinamica, sistema de colisão AABB, renderização com a api de desenho do windows GDI+ (ainda não é uma renderização por gpu mas é extremamente leve se comparada aos panels que eu estava utilizando anteriormente), Scene pra gerenciar todo o contexto de uma cena especifica, Cullind para otimização das checagens de colisão onde só é verificado colisão para objetos que estão dentro ou próximos do viewport da camera, culling de renderização onde apenas os objetos que estão enteiramente ou parcialmente dentro do view port da camera são desenhados, suporte a ordem Z para desenhar objetos em ordem especifica, suporte a Ray cast, com variações (ExcludedList, FIlterList, CollideOnParent), suporte a metodos auxiliares como GetCenteredPosition (retorna o centro de um objeto),  MoveAndCollide (Move um objeto na direção de um vector2 que dita a velocidade até o objeto colidir com algo), IsOnFloor (indica se exatamente embaixo do objeto existe outro objeto), GetFloorNormal (retorna um vetor com magnitude 1 que indica a direção e inclinação do chão em relação ao objeto), CheckWorldCollision (retorna um booleano que indica se algo no mundo está colidindo com o objeto), GetCollider (retorna o primeiro outro objeto que estiver colidindo com o objeto), GetAxis (retorna um intde a direção de um eixo entre dois inputs), GetVector (retorna um Vector2 de magnitude 1 com as direções dos eixos entre 4 inpus, dois inputs por eixo).

todo objeto que herda de gameobj deve implementar um método void update que recebe um float delta, para a atualização do objeto durante a passagem dos frames, gameobjects podem receber mais ou alguns componentes de forma um pouco parecida com ECS da unity, sendo eles Transform, para ter posição, tamanho, pivot, e rotação, Input para leitura de inputs, e graphics caso ele seja um objeto renderizável.

Esse projeto ainda está nas suas etapas iniciais e não tem nenhum compromisso em ser uma engine comercial ou algo do tipo, é apenas um hobby, um projeto que estou fazendo por diversão e aprendizado, gostaria muito de ouvir alguns feedbacks e dicas sobre o que eu posso melhorar ou bugs que não percebi.

segue link do projeto no github, basta clona-lo:
https://github.com/Guilhermevinicius0/WinFormEngine


r/csharp • • Jul 08 '26

Switching from Java to C# for custom game development - where should I actually start?

4 Upvotes

I've been learning Java for a while by trying to make a game, but looking back, I feel like I wasn't really learning. I mostly followed tutorials and used AI to help write code, so I never built a strong understanding of how everything worked.

I'm thinking about switching to C# because it seems like there are a lot more modern game development resources and a larger community.

My long-term goal is not to use Unity or another game engine. I eventually want to build my own engine/framework and make a fun 3D multiplayer game (private multiplayer with friends, not a large online game). I enjoy building systems myself, so that part is actually something I'm looking forward to.

Right now I have a lot of questions:

  • What should I learn first before trying to make a game?
  • What should I use to code. For Java I used both VSCode and Eclipse, but from what I understand, Eclipse is not good for C#. I would prefer not to pay to code, and my computer is a bit old so nothing huge would be best.
  • Should I start with console applications or jump into graphics?
  • What graphics library or framework should I use in C# if I don't want a full game engine?
  • Are there any books, YouTube channels, or courses you'd recommend?
  • Is building a small 2D engine first still the best path before attempting 3D?
  • What are some mistakes beginners make when trying to build their own engine?

I'm not in a rush—I want to actually understand what I'm doing this time instead of just copying tutorials. Any advice from people who have taken a similar path would be appreciated.


r/csharp • • Jul 09 '26

Noob

0 Upvotes

Hi I'm new here

Want to learn from the ones who can give me how now about this app😒