I need to write a console-based program that accepts a user's message and determines whether it is short enough for a social networking service that does not accept messages of more than 140 characters. I don't know anything about console-based programs and really need some help.

Recommended Answers

All 2 Replies

Take a look at the System.Console class.
There are two basic things you need to know: Input and Output.

I suggest that you take a look at System.Console.WriteLine(String) (Output) first, then proceed by checking out System.Console.ReadLine() (Input).

Of course there's more, but start out with these and see how far you get.
If you encounter any specific problems, feel free to ask.

Thank you so much!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.