generics MinMax and tests

This commit is contained in:
neuecc
2020-05-09 22:06:51 +09:00
parent d4511c0f67
commit dd6a8da96f
6 changed files with 711 additions and 1635 deletions

View File

@@ -34,18 +34,11 @@ namespace NetCoreSandbox
static async Task Main(string[] args)
{
var x = await new[] { 110, 50, 200 }.ToUniTaskAsyncEnumerable().MinAsync();
Console.WriteLine(x);
// new object[] { }.Min(
int? foo = null;
if (foo > 100)
{
Console.WriteLine("Under Foo");
}
else
{
Console.WriteLine("??");
}
// AsyncEnumerable.MinAwaitAsync(
}