43
1
using static System.Console;
2
using static Common.Utils;
3
public class Program
4
{
5
public static void Main()
6
{
7
WriteLine("\nPrinting dotted line");
8
DrawDottedLine();
9
10
11
WriteLine("\nPrinting symbol");
12
DrawSymbol('#');
13
14
WriteLine("\nPrinting line");
15
DrawLine();
16
}
17
18
19
}
20
21
namespace Common
22
{
23
public static class Utils
24
{
25
public static void DrawDottedLine()
26
{
27
WriteLine("----------------------------------");
28
}
29
30
public static void DrawLine()
31
{
32
WriteLine("___________________________________");
33
}
34
35
public static void DrawSymbol(char symbol)
36
{
37
WriteLine(new string(symbol,50));
38
}
39
}
40
41
}
42
43
Cached Result
Introdueix l'abecedari en l' ordre correcte tens 3 intents
>