public void TestAsynchronousStreams() { Task.Run(async() => { await foreach (var number in CoolNewCSharp8Stuff.GenerateSequence()) { Debug.WriteLine(number); } }).GetAwaiter().GetResult(); Debug.WriteLine("Done"); }
public void TestIndicesAndRanges() { string[] words = CoolNewCSharp8Stuff.GetMeSomeWordsWillYa(); string dog = words[^ 1];