New course! Every coder should learn Generative AI!
Try a free lesson+ 1
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/anonymous-types
You can find information on it at the link above, it also contains some examples as well.