System.Linq.Dynamic.Core icon indicating copy to clipboard operation
System.Linq.Dynamic.Core copied to clipboard

How to get the value of the key, and access its value pair

Open 3ggerhappy opened this issue 2 years ago • 3 comments

Here is what to include in your request to make sure we implement a solution as quickly as possible.

1. Description

Ok so I have a List(CustomObject) that I have successfully filtered and grouped. This returns a List(dynamic). (Key as Key, "it"(is List(CustomObject)) I can iterate through it but failed to get the value of the key as string, then the Keys value pair w/c is a List(CustomObject)

2. Exception

If you are seeing an exception, include the full exception details (message and stack trace).

Exception message:
Stack trace:

3. Fiddle or Project

If you are able,

Provide a Fiddle that reproduce the issue: https://dotnetfiddle.net/25Vjsn

Or provide a project/solution that we can run to reproduce the issue.

  • Make sure the project compile
  • Make sure to provide only the code that is required to reproduce the issue, not the whole project
  • You can send private code here: [email protected]

Otherwise, make sure to include as much information as possible to help our team to reproduce the issue.

4. Any further technical details

Add any relevant detail that can help us.

3ggerhappy avatar Aug 22 '23 19:08 3ggerhappy

@3ggerhappy The dotnetfiddle links to different code, can you please use the correct link?

StefH avatar Sep 10 '23 09:09 StefH

@3ggerhappy Can you please update the dotnet fiddle?

StefH avatar Nov 26 '23 17:11 StefH

@3ggerhappy The dotnetfiddle links to different code, can you please use the correct link?

StefH avatar Apr 08 '24 08:04 StefH