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
1 Answer
+ 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.