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

  • Home
  • SEARCH
  • 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 232207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:59:51+00:00 2026-05-11T19:59:51+00:00

How do you use Console.Readline in F#? Unlike Console.Writeline, it isn’t being honored when

  • 0

How do you use Console.Readline in F#? Unlike Console.Writeline, it isn’t being honored when I call it.

  • 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-11T19:59:51+00:00Added an answer on May 11, 2026 at 7:59 pm

    If you use

    let s = Console.ReadLine
    

    you are only building a delegate that points to the ReadLine function. You need to say

    let s = Console.ReadLine()
    

    to actually execute the function. This is just like C# syntax, except type inference means you don’t get a compiler warning.

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

Sidebar

Related Questions

Basically I'm still in the starting phase, and I know how to use Console.WriteLine
I'm trying to figure out how I can use Console.ReadLine and a timer. My
Question is simple. When I use - Console.ReadLine() The next thing printed on the
Firebug is certainly a wonderful tool for javascript debugging; I use console.log() extensively. I
I use cakePHP 2.0 and use the console tool to create one .../app/locale/default.pot .
I want to use php in console mode and create an environment to test
I use Firebug and the Mozilla JS console heavily, but every now and then
I use the following code to allocate a Console for a WinForm application. The
I have to use an other application (console) to pass some parameter to this
I use the dark-blue2 color theme but it seems ugly under console. So I

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.