// Collection of code snippets by Arne Vajhøj // (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) using System; using System.Linq; namespace E { public class Program { public static void Main(string[] args) { int?[] reviews = { 1, 2, 3 }; foreach(int v in reviews) { Console.WriteLine(v); } int[] reviews2 = reviews.Cast().ToArray(); foreach(int v in reviews2) { Console.WriteLine(v); } } } }