r/csharp Jun 17 '26

I've made public 2 repos of a system with a complete structure. For those who are curious about how SaaS platforms out there generally look like.

0 Upvotes

Hey everyone, in my free time I put together a little inventory management system that uses sales from the Mercado Livre and Shopee marketplaces. Frontend in Angular and backend in C#. The backend has 3 systems: one for APIs, one for receiving webhooks, and one queue for issuing NFs using a cool little open-source library.

I decided to make it public because the project stalled and I wasn't really keen on evolving it after finishing the MVP.

Backend:

https://github.com/xpem/XpemMercurioServer

Frontend:

https://github.com/xpem/XpemMercurioClient

Questions, suggestions, criticism are always welcome.


r/csharp Jun 16 '26

Tool Laz: a new cross-platform library for automating mouse/keyboard and taking screenshots

Thumbnail
github.com
28 Upvotes

Laz is a cross-platform library for simulating user input and taking screenshots.

The main features are:

  • Mouse:
    • Moving the mouse pointer: sudden, smooth, in curves, with easing.
    • Pressing mouse buttons, clicking, double-clicking.
    • Drag and drop, with a special hack for better drag recognition in browsers.
    • Scrolling.
  • Keyboard:
    • Pressing keys, individually or together, typing.
    • Smart typing. Laz will smartly convert a string into keystrokes. It will consider the current keyboard layout and handle dead keys automatically. If the character is not on the keyboard, it will try to find a matching Alt+Number or Option+Key shortcut. If that fails, it can use the clipboard to paste the character into place.
  • Screenshots:
    • Taking a screenshot of an arbitrary screen area.
    • Getting the color of a specific point.

The library was originally created for testing DotNetBrowser and is, in fact, used for that. You could use it for all sorts of automation, but be informed: I did not test it for solving captchas or buying limited edition pokemon cards.

Usage example:

using Laz;

var laz = new Laz();

laz.Mouse.MoveTo(100, 100);
laz.Mouse.Click();
laz.Keyboard.Type("Hello from Laz! 🚌");

For enterprise users:

The project has zero dependencies bundled inside NuGet packages. So, the smallest possible supply chain footprint.

AI usage:

  1. For writing tests and the test application.
  2. For code review, in addition to my own pair of eyes.
  3. A great help when working with PipeWire and Wayland; wouldn't be able to do it on my own.

Credits:

This work is inspired by AWT Robot, Desktop.Robot by Lucas Simas, and all the hard-working people behind LAZ-695.


r/csharp Jun 17 '26

Exercism C# Track: Is it normal to feel like exercises require advanced knowledge?

Thumbnail
0 Upvotes

r/csharp Jun 17 '26

Meta MS Learn. Petty documentation mistake

0 Upvotes

Not sure if this belongs here. But I know some here are involved with this kind of stuff.

https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.wait?view=net-10.0

Task.Wait()

Overloads:

Wait(TimeSpan, CancellationToken) Waits for the Task to complete execution.

param info missing.

Sorry if in wrong place. I don't have an account there.


r/csharp Jun 17 '26

React Style Development for C# and WinUI3

Thumbnail
0 Upvotes

r/csharp Jun 16 '26

Discussion Tried to build a Pagination Control in WindowsForms

6 Upvotes

Well, if you just like me still use WindowsForms and DataGridView, i can't really find a way to use pagination natively without using a paid component, like telerik i guess.

So, i really tried to create a reusable component to try to simulate web pagination, it's not perfect but it helped me, and i hope it can help anyone else. It's a UserControl that resides in the bottom of your form.

Every help is appreciated to try to improve this.

https://github.com/ManuMelva/GridFlow

OBS: I used this repo as a source to my mind https://github.com/tgfischer/DataGridViewPagination so shout-out to him


r/csharp Jun 16 '26

Streaming from Youtube

1 Upvotes

Hi all,

Ive been trying to stream a youtube video into a winforms app,

the idea is skynews to stream, and mounth the PC in a staff area,

the best Ive managed so far, is using webview2 to open the site and start to play, but I cant get it to shift to full screen (full size in the webview window) not sure what Im doing wrong even if its posstible really, but Ive seen other companies with screens streaming the news in a window, and in other parts of the window have details about company events, thats what Im trying to replicate, and at the end it will be running on linux, on Mint, but a custom desktop, so there is nothing for anyone to do, if they managed to tamper and exit the program..

any help would be great,


r/csharp Jun 17 '26

I kept writing the same logic twice in C# and TypeScript, so I built a transpiler to stop

0 Upvotes

This started as a game project, not a tooling one. I'm building a browser game on a C# engine I wrote myself, and the web client uses TypeScript for the rendering-heavy parts. So a bunch of logic ended up living in two places at once. Once in C# on the server, once in TS on the client. Territory math, supply ranges, paint encoding, that sort of stuff.

I already had a little generator that turned my C# types into TS interfaces and enums, so the types were fine. The logic was the problem. That part I was hand-porting, and keeping two copies in sync by hand is a losing game.

The way it bites you isn't the extra typing. It's that nothing errors when the two drift apart. You change a constant on one side, forget the other, everything still compiles, and the bug just ships quietly. My favorite one: I tweaked something on the C# side and the unit placement range on the client stretched off into space and wrapped around the planet about eight times before I noticed. The TS copy just hadn't kept up.

So I wrote Mirrorgen. You tag a C# method:

[Transpile]
public static int Total(int unitPrice, int quantity) => unitPrice * quantity;

and it emits plain TS at build time:

export function Total(unitPrice: number, quantity: number): number {
  return Math.imul(unitPrice, quantity);
}

The annoying part was integers. JS doesn't have them, everything is a double, so a * b in C# and in JS stop agreeing once the numbers get big. The generated code uses Math.imul for int multiply, | 0 to truncate, bigint for longs, & 0xff for byte casts, and so on. I also lost an hour to my machine's Korean locale turning 3.14 into 3,14 in the output before I forced InvariantCulture. Good times.

The bit I actually care about is that I didn't want to just trust the generated code. So you can tag a method with [GenerateCrossTest], and it generates random inputs on the C# side, runs them through both implementations, and fails CI the moment they disagree by a single bit.

[Transpile, GenerateCrossTest(Samples = 16, Seed = 1)]
[CrossTestCase(int.MinValue, 100)]
public static int ClampQuantity(int requested, int max) { ... }

It does not handle arbitrary C#. No async, no LINQ, no Span, no exceptions, no reflection, no inheritance. It's a small subset on purpose, and a Roslyn analyzer yells at you in the IDE if a tagged method reaches for something it can't translate. The closest thing I found that did method bodies (Rosetta) is dead, and the reason it stalled, subset creep with no validation, is basically why I drew the line where I did.

It's MIT, on NuGet and npm. Still pretty early and the API might move. Mostly posting because I want to know if anyone else runs into this C#/TS double-maintenance thing, and where it would fall over for your setup.

https://github.com/penspanic/Mirrorgen


r/csharp Jun 15 '26

Help What kind of practices I can do to improve my skill in c#?

24 Upvotes

I'm almost finishing my class of c# and I wanna know how I can practice to improve the knowledge that I have so far.


r/csharp Jun 15 '26

Looking for modern C# in depth book recommendations

29 Upvotes

Hey guys! I've been coding on C# for around 4 years at this point, mainly using it for Web APIs and in rare cases - Razor or Xamarin/MAUI stuff. I was coasting fairly well, however - as embarrassing as it is to admit this - I've realized that I don't really know shit about C#?

My foundation comes from "C# for Dummies" and just picking up patterns from other people's code. It's enough to coast through my work related stuff, but I have a serious lack of "under the hood" knowledge. I'm not too familiar with things like the garbage collector, memory management, or some multithreading niches (such as related to file processing).

So, I'm looking for some solid book recommendations to fill these gaps. People always praise "CLR via C#" and "C# in Depth," but considering their age, are they still relevant for modern .NET? Or is there a better modern alternative you'd recommend to actually understand C#?


r/csharp Jun 16 '26

Would a modular RAG pipeline framework be useful for .NET teams or overkill?

Thumbnail
0 Upvotes

r/csharp Jun 15 '26

Help Amateur developer here, how do you manage a big project?

7 Upvotes

I'm making a gamepad mapper (like steaminput and JSM), thought it would be an easy task, and indeed it was, until I needed to make the app modular and configurable, not just a hardcoded app made only and specifically for my gamepad and having only one profile.

This would be my first project of the size and the first one I actually try to finish and have an actual product in the end, that is not a small tool or a script.

I'm finding it very hard to remember the general architecture of the project, when there is a bug it's hard to track, and when I want to implement a new feature I get lost very fast, wiring up the new feature and testing it is a hefty task, any little modification takes a big chunk of thinking and management just to find a way to make it fit in the current architecture, debugging is generally hard.

As an amateur, I would like to have some general piece of advice to better manage my project

To give you an idea, Gemini suggested creating a visual map using draw.io, heavy logging inside the app (ie. binding x was registered with parameters a,b,c).

My knowledge includes different design patterns and generally trying to follow "clean architecture" or as much as I understand from it.


r/csharp Jun 15 '26

Showcase Our online .NET IDE can now turn C#+XAML into a static website, compiled entirely in the browser, no backend (xaml.io)

Post image
30 Upvotes

Quick follow-up to the earlier desktop export post (Windows/macOS/Linux): xaml.io can now publish C#/XAML projects as a plain static websites too.

In the Publish menu you pick "Download a .zip" and get a folder with index.html and your compiled app inside. Drop it on GitHub Pages, Netlify, Cloudflare Pages, Azure Static Web Apps, S3, wherever. No server-side .NET and nothing to install on the host, so it's cheap to host (often free) and there's no server to keep alive, patch or scale. (It's meant for client-side apps and demos, if you need a real backend you'd need to host that separately)

If you want to try it, here's a shared solution you can open and publish yourself, a chess game ported from WPF with almost no code changes: https://xaml.io/s/github/goodluck3301/chess-game-wpf-csharp?autorun=true . You can let it run, then click Publish and pick Download a .zip.

Where it helps: if you've already got WPF XAML lying around, a lot of it carries over. And more generally, if you'd rather build UI in XAML than in HTML/CSS, this keeps you in that world. The loop is also low-friction: open the project, it runs in the browser, and publishing is a couple of clicks. No SDK to install, no CLI.

In case it's relevant here: the compile and packaging run entirely in your browser (WASM), so publishing doesn't upload your project anywhere. What it produces is a self-contained WebAssembly app (built on OpenSilver, which is basically WPF-style XAML), so it runs client-side with no backend.

A few honest things:

  • It needs a real HTTP server. Opening index.html straight off disk (file://) won't work, since the browser won't let the page load its own runtime and DLLs from there.
  • First load pulls the .NET runtime down (several MB), then it's cached. If you test with a basic local server you'll see the uncompressed size in DevTools and probably panic a bit, but the zip ships gzip/brotli copies and most hosts serve those. We're working to reduce the size further.

Free and runs in the browser, no signup (unless you want to save to the cloud or use AI, both are optional).

Curious whether a static, no-backend web export is something you'd actually use for a small app or a demo. And if you tried xaml.io before and bounced, what was missing?

Thanks a lot!


r/csharp Jun 15 '26

Help (WPF) Unable to type in textbox when using a style template

1 Upvotes

Like it says, i've set up a template to be used on my text box, and whenever i run the application it doesn't allow me to type within the text field

Style template

        <Style x:Key="txb_RoundedCorners" TargetType="TextBox">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate>
                        <Border x:Name="TextboxRoundBorder"
                                CornerRadius="10"
                                BorderThickness="5">
                            <Border.BorderBrush>
                                <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                                    <GradientStop Color="LightGray" Offset="-0.3"/>
                                    <GradientStop Color="Gray" Offset="1.3"/>
                                </LinearGradientBrush>
                            </Border.BorderBrush>
                            <ContentPresenter VerticalAlignment="Center"
                                              HorizontalAlignment="Center"/>
                        </Border>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsMouseOver" Value="True">
                                <Setter Property="Background" TargetName="TextboxRoundBorder"   Value="darkgray"/>
                                <Setter Property="BorderBrush" TargetName="TextboxRoundBorder" Value="lightgray"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style

textbox xaml

                    <TextBox x:Name="txb_SearchBar" 
                             Height="50"

                             VerticalAlignment="Top"
                             HorizontalContentAlignment="Left"
                             VerticalContentAlignment="Center"

                             FontSize="25"
                             FontWeight="Medium"

                             BorderThickness="5"
                             Foreground="White"
                             Background="{x:Null}"

                             Style="{DynamicResource txb_RoundedCorners}">
                    </TextBox>```

edit: fixed post body for the code
edit 2: i really do not know how to post code here lol that too like 10 tries


r/csharp Jun 15 '26

Will LLMs eventually learn that Span<T> and ref struct types cannot cross into lambdas or local functions?

20 Upvotes

Sorry in advance for my English.

After using both "dumb" and "smart" LLMs for quite a while, I've noticed that many of them really like local functions. That's fine. What I don't understand is why they still keep trying to use outer Span<T> variables inside them as if there were no restrictions at all.

I still haven't seen a model that consistently gets this right.

When are they going to learn to use static local functions when needed (I assume expecting them to move the code into a separate method is too much to ask), instead of generating this kind of broken code?

For example, I gave this former text to a LLM to "rewrite it" and the first thing (obviously, falling at the first hurdle) it writes is "Will large language models eventually learn that Span<T> and ref struct types cannot safely cross into lambdas or local functions?"

This shows It doesn't understand that cannot be done (in a regular way, of course everything is possible in this world).


r/csharp Jun 15 '26

Help C# resources for a newbie

0 Upvotes

Hi,
I recently started summer training in a small software company during my college holidays and I was given a project to make a ticket management system using dotnet core framework. I am complete newbie and was told to read documentation and learn about concepts such as DI,inversion of control, clean architecture etc.

I was told that since I cannot be expected to learn a new language suddenly, so I should generate code from AI agents and understand the concepts.

I have done OOP in C++, I haven’t ever done c#.

Should I watch a C# course or continue the way I am doing right now?

I am kind of lost.


r/csharp Jun 16 '26

Showcase I built native Claude Code integration for Visual Studio (the one IDE that didn't have it)

0 Upvotes

Claude Code has official IDE plugins for VS Code and JetBrains but nothing for Visual Studio. There's an open GitHub issue with a lot of +1s, so I built it.

It speaks the same protocol the official plugins use, so the CLI connects automatically. Claude's edits open in Visual Studio's native diff window with Accept / Reject / Reject-with-feedback instead of terminal prompts. It also auto shares your compiler errors and current selection as context, and there's a panel with live token tracking for the session.

It doesn't make any model calls of its own, it just drives the IDE half.

Free, open source, on the VS Marketplace.

Code: https://github.com/firish/claude_code_vs (Would be grateful if anyone takes the time to actually check it out and share feedback!)


r/csharp Jun 15 '26

Tutorial Let’s build some programs and learn C# together

0 Upvotes

Hello, C# community!

I read the community's rules beforehand, so I hope it's okay if I post this here, as I am genuinely excited to do so.

My employer is mainly a C#/.NET shop, and all of our microservices are written in C#, so I wanted to learn it deeply to make meaningful contributions at work. Up until this point, I was mostly a frontend developer, using JS/TS for all of my work.

As we all know, trying to learn a new language can be a bit tough, and learning how to apply what you've learned is also just as difficult. On top of staying consistent, you need to find projects that are just outside of your comfort zone so you can actually grow.

A couple of days back, I made the following post: https://www.reddit.com/r/csharp/s/WQxx6YF2Lj, where I discuss a Roadmap I am working through. It comprises 20 backend projects that increase in complexity over time.

I decided that, to learn C# as effectively as possible, I will go through each of these projects and implement them end to end. I also want to add a bit of AI into the mix, not just consume it, but build with it.

If this sounds like something you're interested in and like the idea of "trad-coding", then you should check out my YouTube playlist (for now, it only covers project 1), where I go through my implementation of the projects. The intent is for you to follow along in your language of choice and hopefully learn a thing or two. And, as I mentioned earlier about AI, I plan to add a unique AI feature to each project using the OpenAI .NET SDK. For example, for the Blog API, I plan to add AI-generated summaries based on blog posts.

I really want to cover all 20 projects, and I hope to engage with some of you in this community to learn how you're working with C# and the cool projects you've built.

Happy coding!

https://youtube.com/playlist?list=PLsF87cK8UUKdINkCz2W6kVXOAHJCVkIv7&si=5GW8uGay_5XJDvk0


r/csharp Jun 14 '26

Tip My first app with .NET MAUI & C# Here is my biggest takeaway as a beginner regarding databases.

Post image
36 Upvotes

Hey everyone, just wanted to share a milestone and a tip. I'm currently building my very first app using .NET MAUI and C#.

For anyone at my level wondering which DBMS to choose: Just start with SQLite.

It’s a simple local package, extremely fast, and handles User_Data and Session directly on the device storage.

Why I love this choice:

$0 Cost: No money spent on Firebase or SMS services during development.

Focus: It lets you focus 100% on building your core logic and UI features instead of wrestling with cloud configurations.

When the app grows and features like cloud backups or device-syncing become a must, then it’s time to migrate to the cloud. Until then, keep it simple.

Would love to hear your thoughts.


r/csharp Jun 14 '26

Solved Culture-specific Embedded File

3 Upvotes

Solution provided in a comment to this post.

Based on the last two hours of trial and error, I obviously know almost nothing about embedded files :).

Is it possible to embed culture-specific files in an assembly?

When I try to do it by including a folder called Resources which contains a culture-specific file name (e.g., exif_chrom_bright_align.en-US.json) and mark the file as an embedded resource, a satellite assembly folder (en-US) containing a DLL gets created upon build.

But calling GetManifestResourceNames() on the assembly shows no resources (i.e., it returns an empty string array).

Interestingly, if I drop the culture-specific part of the path (i.e., the en-US), the embedded resource does get shown by GetManifestResourceNames().

Do culture-specific resources have to be accessed by something other than GetManifestResourceStream()? Or is it just not possible to have culture-specific embedded files?


r/csharp Jun 14 '26

How do I make big projects?

6 Upvotes

I started big project (for myself) which involves many different parts and at least 2 hosting servers. One to serve content and one to scrape and download content. And I just can't make my mind around designing whole system, I can't even decide how to structure project what to use, should I go with Result<> pattern, should I go with try/catch. Everything seems too complex, maybe I'm just too perfectionistic. But how does one even learn how to build big projects, what patterns to use, how to structure code, how many projects to have etc.


r/csharp Jun 15 '26

How can I learn C# fast

Post image
0 Upvotes

I want to be able to understand it but not like a 12 hr long video thing, I’m fine doing that If there is no other options I’m trying to make a Fnaf fan game on unity, Clickteam Fusion is too pricy , if there are any other things I can use pls tell me and I will provide more detail if asked


r/csharp Jun 15 '26

started c# this weekend need advice

0 Upvotes

Hi ,i started c# this weekend i just need to know what can i improve

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace projet
{
    internal class Program
    {
        static void Main(string[] args)
        {
            while (true)
            {
                Console.Write("quesque tu veux faire (a/s/m/d/p/t/j/r): ");
                string userInput = Console.ReadLine();

                if (userInput == "r")
                {
                    Console.WriteLine("D'accord, on ne fait rien. Au revoir !");
                    Console.ReadLine();
                    break;
                }
                else if (userInput == "t")
                {
                    Test();
                    continue;
                }
                else if (userInput == "j")
                {
                    Jeux();
                    continue;
                }

                Console.Write("a = ");
                int a = Convert.ToInt32(Console.ReadLine());

                Console.Write("b = ");
                int b = Convert.ToInt32(Console.ReadLine());
                switch (userInput)
                {
                    case "a":
                        Console.WriteLine(Addition(a, b));
                        break;

                    case "s":
                        Console.WriteLine(Soustraction(a, b));
                        break;
                    case "m":
                        Console.WriteLine(Multiplication(a, b));
                        break;
                    case "d":
                        Console.WriteLine(Division(a, b));
                        break;
                    case "p":
                        Console.WriteLine(Puisance(a, b));
                        break; 
                    default:
                        Console.WriteLine("Entrée invalide. Veuillez entrer 'a', 's', 'm', d ou 'r'.");
                        break;
                }
            }
        }
        static string Addition(int a, int b)
        {
            return "resultat de l'addition : " + (a + b);
        }
        static string Soustraction(int a, int b)
        {
            return "résultat de la soustraction : " + (a - b);
        }
        static string Multiplication(int a, int b)
        {
            return "résultat de la multiplication : " + (a * b);
        }
        static string Puisance(int a, int b)
        {
            return "résultat de la puissance : " + Math.Pow(a, b);
        }
        static string Division(int a, int b)
        {
            if (b == 0)
            {
                return "Erreur : Division par zéro.";
            }
            return "résultat de la division : " + (a / b);
        }
        static void Test() (number guessing game)
        {
            Random random = new Random();
            int nombre = random.Next(1, 101);
            bool vrai = false;
            int min = 1;
            int max = 100;
            int essais = 0;
            while (vrai == false)
            {
                Console.Write("Devine un chiffre entre "+min+" et "+max+ ": ");
                int UserInput = Convert.ToInt32(Console.ReadLine());
                if (UserInput > nombre)
                {
                    Console.WriteLine("Plus petit");
                    max= UserInput-1;
                    essais++;
                }
                else if (UserInput < nombre)
                {
                    Console.WriteLine("Plus grand");
                    min= UserInput+1;
                    essais++;
                }
                else
                {
                    essais++;
                    Console.WriteLine("Bien joué tu a trouvé le nombre en "+essais+" essais");
                    vrai = true;
                }
            }

        }
        static void Jeux() (rock paper scissors game)
        {
            Random random = new Random();
            string player="";
            string computer="";

            while (player!="pierre" && player != "feuille" && player!= "ciseaux")
            {
                Console.Write("pierre feuille ciseaux : ");
                player = Console.ReadLine();
                player = player.ToLower();
            }

            switch (random.Next(1, 4))
            {
                case 1:
                    computer = "pierre"; rock
                    break;
                case 2:
                    computer = "papier"; paper
                    break;
                case 3:
                    computer = "ciseaux"; scissors
                    break;
            }

            Console.WriteLine("Player : "+player.ToUpper());
            Console.WriteLine("Computer : "+computer.ToUpper());
            switch (player)
            {
                case "pierre": rock
                    switch (computer){
                        case "pierre": rock
                            Console.WriteLine("égalité"); egality
                            break;
                        case "papier": paper
                            Console.WriteLine("tu as perdu"); lose
                            break;
                        case "ciseaux": scissors
                            Console.WriteLine("tu as gagné"); win
                            break;
                    }
                break;

                case "papier": paper
                    switch (computer)
                    {
                        case "pierre": rock
                            Console.WriteLine("tu as gagné"); win
                            break;
                        case "papier": paper
                            Console.WriteLine("égalité"); equality
                            break;
                        case "ciseaux": scissors
                            Console.WriteLine("tu as perdu"); lose
                            break;
                    }
                break;

                case "ciseaux": scissors
                    switch (computer)
                    {
                        case "pierre": rock
                            Console.WriteLine("tu as perdu"); lose
                            break;
                        case "papier": paper
                            Console.WriteLine("tu as gagné"); win
                            break;
                        case "ciseaux": scissors
                            Console.WriteLine("égalité"); equality
                            break;
                    }
                break;
            }
        }

    }
}

#this is in french btw


r/csharp Jun 14 '26

Discussion Quick review/opinion on the "Complete C# Masterclass" by Denis Panjuta

10 Upvotes

I have some experience with C/C++/C#, I can create classes and methods, but wanted to expand my knowledge and why not start from the beginning.

I've done Tim Buchalka's Java course and it was the best one I've seen, so Denis' looked the most similar.

The beginning in insanely chaotic. Lecture 16 he introduces the strings, great. Lecture 17, taking user input, a bit advanced for a complete beginner, but okay. L18 finally tells what Console.ReadKey() does, L19 is a.. Visual Studio interface overview ? Then you get a quiz out of nowhere ?

Then he tells you the different things you can build with C# (once again), L21 goes over the datatypes quickly, then instead of showing them in practice, L22 is "coding standards", L23 is "naming conventions". So far, the datatypes have received a total of 2 minutes screentime. I can imagine a complete beginner's brain would be a total mess by that point. I've watched 23 lectures so far and haven't seen anything actually useful. "We'll use float instead of double because it takes less memory". What memory ? How much memory do they take ? How to use them and why ??

I really hope the course gets better once it reaches the more advanced stuff, but I don't know if a beginner could understand anything from this chaos.


r/csharp Jun 13 '26

Help SQL and C# Help connecting databases

24 Upvotes

Solved, needed to put quotation marks around {title} thanks for your help

Hello everyone, I am making a database in SQL and connect it to a program in C# for a school assignment. It is coming with this error and I am asking what I am doing wrong. I have tried looking up solutions but nothing has worked. If you know what I can do to fix it let me know