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 6089029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:03:11+00:00 2026-05-23T12:03:11+00:00

In C# Console.ReadLine() implements history buffer of the previous strings read through the console.

  • 0

In C# Console.ReadLine() implements history buffer of the previous strings read through the console. This buffer can be accessed by arrows up and down and also F7 button. Is there any way to access and modify this buffer programmatically within the code?

  • 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-23T12:03:11+00:00Added an answer on May 23, 2026 at 12:03 pm

    I’m pretty sure that’s not part of Console.Readline() – that’s native to the operating system. The command window does that whether or not you run a console app.

    It MAY be possible to access that input buffer, but I don’t think you’re going to do it via standard CLR objects. Instead I think you’ll need to use unsafe access to the Win32 API (presuming you’re on Win32).

    This link talks about the Console and it’s available functions and properties via the API but that’s about all the help I can offer.

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

Sidebar

Related Questions

Console dogs me. Can anybody help? The sad story starts like this. My OS
Take this example: customer.Salary = Convert.ToDecimal(string.Format({0}! , Console.ReadLine().ToString())); (1) Why in C# we need
I need to accomplish the same behavior as .NET Console.ReadLine function provides. The program
Basically I want 200 characters maximum to come up in Console.ReadLine() for user input
static void Main() { string str; str = Console.ReadLine(); while (str != null)//HERE! {
I'm currently working on a small console application. This application is based on a
If a thread is waiting on a console.readline is the thread suspended. If not
I'm trying to improve this interesting algorithm as much as I can. For now,
I have written a console application, which is essentially a Console.ReadLine()-Loop. When the application
How can I implement this so it is always ten numbers in length and

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.