SyntaxFix
Write A Post
Hire A Developer
Questions
You can use a lambda with an input parameter, like so:
.Returns((string myval) => { return myval; });
Or slightly more readable:
.Returns<string>(x => x);