---
title: "Discussion on \"Decompiling anonymous types: the generated generic class behind new { a, b }\" | Hashnode"
description: "Discussion on \"Decompiling anonymous types: the generated generic class behind new { a, b }\". Type a new { } in C# and you create an object with no type you can name. var row = new { Name = customer.Name, Total = customer.Total }; gives you a row you can read .Name and .Total off, pass to LINQ"
url: "https://hashnode.com/posts/decompiling-anonymous-types-the-generated-generic-class-behind-new-a-b/6af32744f58ef4a7ea4f3fa7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Decompiling anonymous types: the generated generic class behind new { a, b }](https://delta1labs.hashnode.dev/decompiling-anonymous-types-the-generated-generic-class-behind-new-a-b?utm_source=hashnode&utm_medium=feed)

Type a new { } in C# and you create an object with no type you can name. var row = new { Name = customer.Name, Total = customer.Total }; gives you a row you can read .Name and .Total off, pass to LINQ

4d ago · 8 min read · delta1labs.hashnode.dev  
Updated 53m ago  
Read the article

-   [#glassnet](https://hashnode.com/tag/glassnet)
-   [#decompilation](https://hashnode.com/tag/decompilation)
-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#deepdive](https://hashnode.com/tag/deepdive)

## Written by

[Zero Heartbeat](https://hashnode.com/@clustron)

@clustron

  
[View profile](https://hashnode.com/@clustron)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
