This repository has been archived by the owner. It is now read-only.
Permalink
Switch branches/tags
Find file Copy path
a474cf5 Aug 14, 2017
2 contributors

Users who have contributed to this file

@richlander @MichaelSimons
69 lines (63 sloc) 2.33 KB
using System;
using System.Runtime.InteropServices;
using static System.Console;
public static class Program
{
public static void Main(string[] args)
{
string message = "Dotnet-bot: Welcome to using .NET Core!";
if (args.Length > 0)
{
message = String.Join(" ",args);
}
WriteLine(GetBot(message));
WriteLine("**Environment**");
WriteLine($"Platform: .NET Core 2.0");
WriteLine($"OS: {RuntimeInformation.OSDescription}");
WriteLine();
}
public static string GetBot(string message)
{
string bot = $"\n {message}";
bot += @"
__________________
\
\
....
....'
....
..........
.............'..'..
................'..'.....
.......'..........'..'..'....
........'..........'..'..'.....
.'....'..'..........'..'.......'.
.'..................'... ......
. ......'......... .....
. ......
.. . .. ......
.... . .......
...... ....... ............
................ ......................
........................'................
......................'..'...... .......
.........................'..'..... .......
........ ..'.............'..'.... ..........
..'..'... ...............'....... ..........
...'...... ...... .......... ...... .......
........... ....... ........ ......
....... '...'.'. '.'.'.' ....
....... .....'.. ..'.....
.. .......... ..'........
............ ..............
............. '..............
...........'.. .'.'............
............... .'.'.............
.............'.. ..'..'...........
............... .'..............
......... ..............
.....
";
return bot;
}
}