Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 628087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:35:55+00:00 2026-05-13T19:35:55+00:00

I am trying to writing a console application. It has its original console, let’s

  • 0

I am trying to writing a console application. It has its original console, let’s name it console A. And I want this application to do the following things via C#:

  1. Open another console B in another thread, then get input from A and output it to B;
  2. type a command in A, such as dir, and show the output in B;

while doing the above things (still not done yet. X_X ), I find myself lack a through understanding of what a console window is, and how it is assigned to a console application, especially the very first console when my console application starts to run. Could some one shed some light on me?

Is console window physically a memory area in the video memory? Or something else?
Could different threads within the same process have different console of its own for its own I/O?

Many thanks.

Now I am using one console application to start another console application in a new process. Thus I can have 2 consoles output at the same time.


My understanding now is that, for Windows OS, a console is a special window, and it’s a system resource that OS assigned to the application without-a-UI as a necessary user interface. Windows OS handles the wiring between the system-prepared console window with our UI-less application.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:35:55+00:00Added an answer on May 13, 2026 at 7:35 pm

    In Windows terms, a Console is a textual GUI window that you see when you run “cmd.exe”. It allows you to write text to, and read text from, a window without the window having any other UI chrome such as toolbars, menus, tabs, etc,..

    To get started you’ll want to load Visual Studio, create a new project and choose “Console Application”. Change the boilerplate code that Visual Studio produces to:

    using System;
    using System.Text;
    
    namespace MyConsoleApp
    {
        class Program
        {
            static void Main(string[] args)
            {
                Console.Write("Hello, world!");
                Console.ReadKey();
            }
        }
    }
    

    When you run your application, a console window will open with the text “Hello, world!” and it’ll stay open until you press a key. That is a console application.

    Is console window physically a memory area in the video memory? Or something else?

    It’s not physically a memory area in video memory, it’s “something else”. The Wikipedia Win32 console page gives a fairly robust descrption of the ins and outs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.