2016-12-11 14:08:58 +00:00
|
|
|
|
using System;
|
2017-01-31 11:01:08 +00:00
|
|
|
|
using System.Threading.Tasks;
|
2016-12-11 14:08:58 +00:00
|
|
|
|
|
|
|
|
|
namespace Test
|
|
|
|
|
{
|
|
|
|
|
public class Visualizer
|
|
|
|
|
{
|
2017-01-31 11:01:08 +00:00
|
|
|
|
public Task VisualizeMarco()
|
2016-12-11 14:08:58 +00:00
|
|
|
|
{
|
|
|
|
|
Console.WriteLine("Marco!");
|
2017-01-31 11:01:08 +00:00
|
|
|
|
return Task.CompletedTask;
|
2016-12-11 14:08:58 +00:00
|
|
|
|
}
|
|
|
|
|
|
2017-01-31 11:01:08 +00:00
|
|
|
|
public Task VisualizePolo(bool matches)
|
2016-12-11 14:08:58 +00:00
|
|
|
|
{
|
2017-01-31 11:01:08 +00:00
|
|
|
|
Console.WriteLine(matches ? "Polo!" : "Oops! Mismatch!");
|
|
|
|
|
return Task.CompletedTask;
|
2016-12-11 14:08:58 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|