dotnet-core/samples/dotnetbot/Program.cs
2015-11-18 07:48:20 -08:00

71 lines
2.5 KiB
C#

using System;
namespace DotnetBot
{
public static class Program
{
public static void Main(string[] args)
{
string message = "";
if (args.Length < 1)
{
message = "Welcome to .NET Core!";
} else
{
foreach (string item in args)
{
message += item;
}
}
Console.WriteLine(GetBot(message));
}
public static string GetBot(string message)
{
string bot = "\n" + " " + message;
bot += @"
__________________
\
\
....
....'
....
..........
.............'..'..
................'..'.....
.......'..........'..'..'....
........'..........'..'..'.....
.'....'..'..........'..'.......'.
.'..................'... ......
. ......'......... .....
. ......
.. . .. ......
.... . .......
...... ....... ............
................ ......................
........................'................
......................'..'...... .......
.........................'..'..... .......
........ ..'.............'..'.... ..........
..'..'... ...............'....... ..........
...'...... ...... .......... ...... .......
........... ....... ........ ......
....... '...'.'. '.'.'.' ....
....... .....'.. ..'.....
.. .......... ..'........
............ ..............
............. '..............
...........'.. .'.'............
............... .'.'.............
.............'.. ..'..'...........
............... .'..............
......... ..............
.....
";
return bot;
}
}
}