void to action csharp

Code Example - void to action csharp

                
                        () => Function(testParam);