---
title: "Francesco Formenti (@formentz) | Hashnode"
description: "c# programmer. Read the latest articles by Francesco Formenti on Hashnode."
url: "https://hashnode.com/@formentz"
---

@formentz

# Francesco Formenti

@formentz · Joined September 2022

c# programmer

## Comments

[Hi Jan, I really appreciate your linq gems! This one pointed me to another solution that, I hope, you and your blog readers could like. It is similar to the value tuple you mentioned: Using the new keyword to create an anonymous type in a let clause: var query = from word in testWords let entry = new { word, usage = wordUsage.TryGetValue(word, out var u) ? u : 0, } orderby entry.usage select (entry.word, entry.usage); Or maybe you can directly do: //\[...\] select entry; to use the whole anonymous object as a result.](https://hashnode.com/posts/linq-gems-out-parameters/605c235747b0d2243d4ad4b4/comment/63230f438350c8888bf30d82)

Comment · Article · Sep 15, 2022 · [LINQ gems: Troubles with Out Parameters](https://hashnode.com/posts/linq-gems-out-parameters/605c235747b0d2243d4ad4b4)
