1
0
mirror of synced 2025-12-22 11:20:57 -05:00

Adding initial samples

This commit is contained in:
Zlatko Knezevic
2015-11-18 07:48:20 -08:00
parent 4056b2c338
commit bb42612469
12 changed files with 10352 additions and 0 deletions

View File

@@ -0,0 +1,71 @@
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;
}
}
}