Getting a run-time error when using a Lambda function in C#

I am using W# ith Microsoft .Net Framework 3.5. I am writing a desktop application for calculating variances in a set of values. I have read about the new Microsoft .Net Framework technology called Lambda functions.
I tried this in the application where I had written a loop to find numbers that are fully devisable by nine. The application compiles correctly, but when I run the program I am getting a runtime exception. Is it because I am now using a lambda function in the program?
