• + 0 comments
    c# csharp
    
    static void PrintArray<T>(T[] value)
        {
      //Linq ArrayForEach
            Array.ForEach(value, rec => Console.WriteLine($"{rec}"));
      //or Normal ForEach, both is working in similar way
      // foreach(var rec in value)
      //Console.WriteLine($"{rec}"); 
          }