w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Can someone explain how does this statement work?

It's a lambda, and it isn't as magical as it appears (from a high level, anyway).

Best you learn from the source: Lambda Expressions - MSDN C# Programming Guide

Basically, in MVC, the methods you're using the lambda in will tie that property into your model when you post the form.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.