Original Post
Hi, I seem to be having trouble passing delegates as parameters in functions. Im trying this: public delegate int Behavior(Queue q, Vertex[] v, Clock c); class MyClass { public MyClass(object r, int n, Behavior h) { this.h = h; } static public int testbehavior(Queue q, Vertex[] v, Clock c) { //stuff goes here } public static Main() { new MyClass(null, 0, testbehavior); } } compile error: Method 'Screensaver.Screensaver.testbehavior(System.Collections.Queue, Screensaver.Vertex[], Screensaver.Clock)' referenced without parentheses any ideas? thanks Yratelev