Delegate function with params - C#