Ejemplo n.º 1
0
 private static void DisplayState(MachineState state)
 {
     Console.WriteLine("State:");
     foreach (var(key, value) in state.OrderBy(a => a.Key))
     {
         if (value.Value.Type == Yolol.Execution.Type.String)
         {
             Console.WriteLine($" | {key} = \"{value}\"");
         }
         else
         {
             Console.WriteLine($" | {key} = {value}");
         }
     }
 }