.Net
Switching between forms
Using: Windows Forms App (.NET Core) So I’ve been programming in Windows Forms App (.NET Framework), and this code always worked. Since I was unable to find any other code specifically for .NET Core, I Read more…
Using: Windows Forms App (.NET Core) So I’ve been programming in Windows Forms App (.NET Framework), and this code always worked. Since I was unable to find any other code specifically for .NET Core, I Read more…
Hi everyone.I would like if .net core incorporated Rust-style enumerations. Currently you can make a switch using pattern matching with classes, but for the specific case of enumerations I think this type of construction would Read more…
I’m starting in C#, I’m coming from Python, I use WSL Ubuntu on my Windows 10 to code in Python. I’m making my first API on C#. What’s the best OS to do it? “Best” Read more…
I’ve looked into SSH.net but rsa pair documentation seems to not exist and it doesn’t have a server so it’s not great. TCP sockets aren’t ideal for larger files (I assume) and doesn’t have an Read more…
So I built this very basic CRUD application that creates some folders in Windows with a SQLite backend database in C# and I want to run it on a Mac. Can I use Wine for Read more…
This is a pretty newbie question, but for some reason I could not find an answer to this online. Let’s say I have three classes: Entities, Player, and Enemy. Entities has a variable, health. Both Read more…
I’m not a programmer, just solving some puzzles in c#, so I no need to it for now, but out of curiosity googled how it works and I’m a bit confused.My question is are programmer Read more…
So yesterday I and my friend were discussing the var keyword over some Minecraft gameplay and it seemed we had two very different opinions on when to use the keyword. We’re both hobby-programmers studying computer Read more…
So, I am developing an app for tablets in C#, WPF. I do not have one to test on it, but the customer told me the screen is 10-17 inches big. I am wondering what Read more…
I have a Repository class that has a DBContext. Should we close the DbContext after the transaction? That is, should my Repository class implement IDisposable (so that I dispose of the DBContext) and should I Read more…