SyntaxFix
Write A Post
Hire A Developer
Questions
One line solution
var id = request.Headers.GetValues("MyCustomID").FirstOrDefault();