xartigas pushed a commit to branch master. http://git.enlightenment.org/tools/examples.git/commit/?id=4b6740b258ba265e21a5e1b82fa6b787dd35e426
commit 4b6740b258ba265e21a5e1b82fa6b787dd35e426 Author: Xavi Artigas <[email protected]> Date: Fri Jan 17 10:18:13 2020 +0100 Adapt Eina.Array example to latest syntax --- reference/csharp/eina/src/eina_array.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/csharp/eina/src/eina_array.cs b/reference/csharp/eina/src/eina_array.cs index 3864bded..c1089c5f 100644 --- a/reference/csharp/eina/src/eina_array.cs +++ b/reference/csharp/eina/src/eina_array.cs @@ -43,7 +43,7 @@ public class Example : Efl.Csharp.Application var array = CreateArray(); // Show the contents of our array - Console.WriteLine("Array count: {0}", array.Count()); + Console.WriteLine("Array count: {0}", array.Count); Console.WriteLine("Array contents:"); foreach(string name in array) { @@ -60,7 +60,7 @@ public class Example : Efl.Csharp.Application // array.RemoveAll(ItemRemoveCb); // TODO: FIXME // Print the new contents of our array - Console.WriteLine("New array count: {0}", array.Length); + Console.WriteLine("New array count: {0}", array.Count); Console.WriteLine("New array contents:"); foreach(string name in array) Console.WriteLine(" {0}", name); --
