0

Can some one plz add console.net form of c# in solo lear

I’m new I know but i can not find a single app that make some sort of command prompt form of c# Example 1. Console.WriteLine(“hello world”); Console.ReadLine(); What’s suposed to happen is.. hello world I would hit enter then it would go away like any other form

3rd Oct 2018, 5:53 PM
lordbiscuit
lordbiscuit - avatar
1 Réponse
+ 1
Though you use the word "form", I'm taking "some kind of command prompt" to mean you want "console mode". This page includes how to create a console-mode application, as well as a very short script closely matching your sample. https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/inside-a-program/hello-world-your-first-program Following the code there's also an analysis of each line. Note, this is an at-home sample; SoloLearn's output panel is not a terminal.
3rd Oct 2018, 6:58 PM
Kirk Schafer
Kirk Schafer - avatar