// 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; class TestClass { public static void Main(string[] args) { Check chk = new Check(); for(int i = 0; i < 1000; i++) { chk.OneCall(); chk.OneCall(); chk.OneCall(); } Console.WriteLine(chk.GetObjs() + " " + chk.GetCalls()); } }