© Radek Vystavěl 2017

Radek Vystavěl, C# Programming for Absolute Beginners, https://doi.org/10.1007/978-1-4842-3318-4_3

3. Dealing with Output

Radek Vystavěl

(1)Ondřjov, Czech Republic

You already know all the main steps that you should take when developing a program in the C# language. In addition, you have already seen the important statement Console.WriteLine, which displays data on your user’s screen. In this chapter, you will extend your knowledge of this statement. I will also show you other possibilities for the output.

Producing Numeric Output

You already know how to display some text. In this section, you will learn how to display a number.

Task

You will write a program that displays the number 37 (see Figure 3-1).

Figure 3-1 The program ...

Get C# Programming for Absolute Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.