Adapt Eina.Array example to latest syntax

This commit is contained in:
Xavi Artigas 2020-01-17 10:18:13 +01:00
parent 870cda6730
commit 4b6740b258
1 changed files with 2 additions and 2 deletions

View File

@ -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);