summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2020-01-17 10:18:13 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2020-01-17 10:18:13 +0100
commit4b6740b258ba265e21a5e1b82fa6b787dd35e426 (patch)
treecf79123ed3fe31dccf0e982c596f1adba793175a
parent870cda67308f28a1b7cc1fdf00560872fc9f358e (diff)
Adapt Eina.Array example to latest syntax
-rw-r--r--reference/csharp/eina/src/eina_array.cs4
1 files 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
43 var array = CreateArray(); 43 var array = CreateArray();
44 44
45 // Show the contents of our array 45 // Show the contents of our array
46 Console.WriteLine("Array count: {0}", array.Count()); 46 Console.WriteLine("Array count: {0}", array.Count);
47 Console.WriteLine("Array contents:"); 47 Console.WriteLine("Array contents:");
48 foreach(string name in array) 48 foreach(string name in array)
49 { 49 {
@@ -60,7 +60,7 @@ public class Example : Efl.Csharp.Application
60 // array.RemoveAll(ItemRemoveCb); // TODO: FIXME 60 // array.RemoveAll(ItemRemoveCb); // TODO: FIXME
61 61
62 // Print the new contents of our array 62 // Print the new contents of our array
63 Console.WriteLine("New array count: {0}", array.Length); 63 Console.WriteLine("New array count: {0}", array.Count);
64 Console.WriteLine("New array contents:"); 64 Console.WriteLine("New array contents:");
65 foreach(string name in array) 65 foreach(string name in array)
66 Console.WriteLine(" {0}", name); 66 Console.WriteLine(" {0}", name);