Of course, just:
myTimer.Elapsed += (sender, args) => secondsElapsed++;
The parameters for the lambda expression should match the parameters for the delegate to which you are trying to convert it, basically.
Depending on whether the Timer you are using is always running in the same thread or not, you can use:
myTimer.Elapsed += (sender, args) => Interlocked.Increment(ref secondsElapsed);
source share