// Collection of code snippets by Arne Vajhøj // (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) using System; public class Program { public static void Main(string[] args) { Half x = (Half)0; for(int i = 0; i < 2500; i++) { x = x + (Half)1; if(i % 100 == 0) { Console.WriteLine("{0} : {1}", i + 1, x); } } } }