Top "Anonymous-types" questions

Anonymous types are data types which dynamically add a set of properties into a single object without having to first explicitly define a type

Passing an instance of anonymous type over WCF

I have a WCF service method that expects an object and then retrieves its properties using reflection. On the client …

wcf anonymous-types datacontractserializer datacontract
Can we have an anonymous struct as template argument?

The title is pretty self-explanatory, but here's a simplified example: #include <cstdio> template <typename T> struct …

c++ templates parameters struct anonymous-types
LINQ to XML optional element query

I'm working with an existing XML document which has a structure (in part) like so: <Group> <Entry&…

c# linq linq-to-xml anonymous-types
cast anonymous type to an interface?

This doesn't seem to be possible? So what is the best work-around? Expando / dynamic? public interface ICoOrd { int x { get; …

c# interface anonymous-types
Determining whether a Type is an Anonymous Type

In C# 3.0, is it possible to determine whether an instance of Type represents an Anonymous Type?

c# .net .net-3.5 c#-3.0 anonymous-types