diff --git a/src/Laylua.Playground/Program.cs b/src/Laylua.Playground/Program.cs index 34aa3ed..1e95689 100644 --- a/src/Laylua.Playground/Program.cs +++ b/src/Laylua.Playground/Program.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Globalization; using System.Linq; @@ -290,7 +290,7 @@ static int deln(lua_State* L) lua.Execute("print(#mixed)"); var mixedTable = lua.GetGlobal("mixed")!; - foreach (var kvp in mixedTable.EnumeratePairs()) + foreach (var kvp in mixedTable) { Console.WriteLine("[{0}] = {1}", kvp.Key, kvp.Value); }