I need to create a lambda expression for unit testing in C#

The HtmlHelper I created accepts a lambda such as:

model => model.EmailAddr

and the helper works fine when its my View creating the lamda. But I need to create it in my unit test and am not sure of the syntax to creates it.

Does anyone know?

Thanks!
newbiewebSr. Software EngineerAsked:
Who is Participating?
 
Easwaran ParamasivamCommented:
0
 
newbiewebSr. Software EngineerAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.