68 строки
2.3 KiB
C#
68 строки
2.3 KiB
C#
using System;
|
|
using static System.Console;
|
|
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
string message = "Dotnet-bot: Welcome to using .NET Framework!";
|
|
|
|
if (args.Length > 0)
|
|
{
|
|
message = string.Join(" ", args);
|
|
}
|
|
|
|
WriteLine(GetBot(message));
|
|
WriteLine();
|
|
WriteLine("**Environment**");
|
|
WriteLine($".NET Framework 4.7");
|
|
WriteLine($"{Environment.OSVersion}");
|
|
}
|
|
|
|
public static string GetBot(string message)
|
|
{
|
|
string bot = $"\n {message}";
|
|
bot += @"
|
|
__________________
|
|
\
|
|
\
|
|
....
|
|
....'
|
|
....
|
|
..........
|
|
.............'..'..
|
|
................'..'.....
|
|
.......'..........'..'..'....
|
|
........'..........'..'..'.....
|
|
.'....'..'..........'..'.......'.
|
|
.'..................'... ......
|
|
. ......'......... .....
|
|
. ......
|
|
.. . .. ......
|
|
.... . .......
|
|
...... ....... ............
|
|
................ ......................
|
|
........................'................
|
|
......................'..'...... .......
|
|
.........................'..'..... .......
|
|
........ ..'.............'..'.... ..........
|
|
..'..'... ...............'....... ..........
|
|
...'...... ...... .......... ...... .......
|
|
........... ....... ........ ......
|
|
....... '...'.'. '.'.'.' ....
|
|
....... .....'.. ..'.....
|
|
.. .......... ..'........
|
|
............ ..............
|
|
............. '..............
|
|
...........'.. .'.'............
|
|
............... .'.'.............
|
|
.............'.. ..'..'...........
|
|
............... .'..............
|
|
......... ..............
|
|
.....
|
|
|
|
";
|
|
return bot;
|
|
}
|
|
}
|