---
title: "C# Lambdas Part 3, Setting Parameters Up Front, and Mismatching Func and Action Definitions"
url: https://daily.dev/posts/c-lambdas-part-3-setting-parameters-up-front-and-mismatching-func-and-action-definitions-a4ljke45c
source_url: https://nodogmablog.bryanhogan.net/2025/09/c-lambdas-part-3-setting-parameters-up-front-and-mismatching-func-and-action-definitions
type: article
source: "No Dogma Blog (Bryan Hogan)"
published: 2026-05-31T07:47:01.651Z
updated: 2026-05-31T08:43:23.121Z
tags: ["c#", "aws-lambda", "functional-programming"]
reading_time: 4
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# C# Lambdas Part 3, Setting Parameters Up Front, and Mismatching Func and Action Definitions

**[No Dogma Blog \(Bryan Hogan\)](https://daily.dev/sources/bryanhogan)** · 4 min read · 0 upvotes · 0 comments

## Summary

Explores two lesser-known lambda techniques in C#: discarding parameters using the underscore pattern `(_, _)` with Func and Action delegates, and satisfying a Func definition with a method whose parameter types don't match by leveraging the lambda as an intermediary. Includes concrete code examples showing how a `Func<string, string>` can wrap a method that takes integers, because the lambda itself handles the type contract.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://nodogmablog.bryanhogan.net/2025/09/c-lambdas-part-3-setting-parameters-up-front-and-mismatching-func-and-action-definitions>

---

Tags: [#c#](https://daily.dev/tags/c#), [#aws-lambda](https://daily.dev/tags/aws-lambda), [#functional-programming](https://daily.dev/tags/functional-programming)

[View this post on daily.dev](https://daily.dev/posts/c-lambdas-part-3-setting-parameters-up-front-and-mismatching-func-and-action-definitions-a4ljke45c)
