P
Pobiega•401d ago
ideally you
return;
from main, but sometimes tahts hard. so then you Environment.Exit()
E
Elmishh•401d ago
yeah i tried
Enviroment.Exit()
but it just stops it, the window doesnt close and my pc fans start going insane like theres some loop that puts stress on my pcP
Pobiega•401d ago
thats... weird
E
Elmishh•401d ago
ok i fixed the first issue but how do i make it close the window
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
51KMembers
View on DiscordWant results from more Discord servers?
More Posts❔ I need help for my GameCan everyone help me with my game for my school project, I need help with the scripting? My Code doe❔ Microsoft.XmlSerializer.Generator causes failure to load assembly System.RuntimeHey all, as a way to get my program running under NativeAOT I've been looking into the Microsoft.Xml✅ Make method implemented in interface accessible from implementing typei have an interface ```csharp
interface ICL
{
public IEnumerable<ICLPlatform> GetPlatforms()
{
❔ ASP.NET, MongoDB, C#does anyone have experience with c#, mongodb and ASP.NET? I have a project and I need to get data to✅ Is there a working code editor for blazor server?i found one for blazor wasm https://github.com/serdarciplak/BlazorMonaco but that one does not work ✅ Multiple inheritance questionI have a partial class webform that is inheriting a base page class. Inside it there are multiple re❔ How to automatically set version of project to know what version deployed on specific server?The problem is that there is bunch of clients with different versions of .net core and netfx projecthow to make a target that will disappear after shooting a couple of times this is my scripts i havebut it doesnt seem to want to destroy https://paste.mod.gg/mppnwkqnmukq/2❔ ✅ Choosing an appropriate data structureSo I have a list of objects and I want one in the list to be active and the rest to be inactive.
I ❔ Saving User DataI have it set up through properties, but I'm having a lot of trouble with showing it on other forms