Alle Elemente eines Arrays ausgeben

Thomas Darimont

Erfahrenes Mitglied
Hallo!

Ganz schön "handy" ;-)
C#:
using System;

namespace De.Tutorials.Training
{
    /// <summary>
    /// 
    /// </summary>
    /// <author>Thomas.Darimont</author>
    public class ForEachExample
    {
        public static void Main(string[] args)
        {
            Array.ForEach(new string[]{ "AAA" , "BBB", "CCC"}, Console.WriteLine);
        }
    }
}

Gruß Tom
 
Zurück