Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# anonymous type as return value

You can't.

You can only return object, or container of objects, e.g. 
IEnumerable<object>, IList<object>, etc.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #anonymous #type #return
ADD COMMENT
Topic
Name
1+3 =