Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

c# consolenproblem

Empfohlene Antworten

hi, ich steh auf dem schlauch.

möchte in vs .net eine c# consolenanwendung machen. alles klappte hervorragend, aber wenn ich das projekt ausführe geht das dos fenster nur kurz auf und schliesst sich gleich wieder.

wie kann ich das fenster dauerhaft anzeigen lassen?

Servus!

2. Möglichkeiten gibt es da die mir bekannt sind:

- Nach deinem richtigen Code fügst du noch ein "Console.ReadLine()" ein

- Du startest die .exe über ein extra DOS - Fenster

MfG

Azrael

Versuch's mal mit "Starten ohne Debuggen" [CTRL] + [F5] ...

Original geschrieben von A.Z.R.A.E.L.

Servus!

2. Möglichkeiten gibt es da die mir bekannt sind:

- Nach deinem richtigen Code fügst du noch ein "Console.ReadLine()" ein

- Du startest die .exe über ein extra DOS - Fenster

MfG

Azrael

Als die beste Methode für sowas ist "Console.ReadLine()". Da wartet das Programm, bis du eine Taste gedrückt hast ;-)

Gruß

Screamer

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.