Forum Workbooks & Inspector

Inconsistent results

rhywunrhywun USMember
edited August 2017 in Workbooks & Inspector

In a new workbook, enter the following in a cell:

using static System.Console;
new List<int> { 1, 2, 3 }.ForEach(Write);

The result is always correct: "123".

But if I split it into two cells, the result of the second line is randomly nothing, "1" or "12". Am I missing something?

macOS 10.12.6



This discussion has been closed.