Link to home
Start Free TrialLog in
Avatar of Tom Knowlton
Tom KnowltonFlag for United States of America

asked on

Attribute inside of parameter list? C#

Just wondering about the following C# syntax:

public ActionResult<Pet> Create([FromBody] Pet pet)

What is [FromBody] doing and how long has this been a part of the language?
ASKER CERTIFIED SOLUTION
Avatar of Chinmay Patel
Chinmay Patel
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial