Group the Object based on Data type

code
#1

Hi,
I have collection of object and it contains Data row and string, so How to group the object based on data type ?

0 Likes

#2

Hi,

You can take advantage of the “OfType” Method available on Enumerable collection.

Here is a an example which should help you finding a solution for your case.

Cheers

1 Like

#3

Hi @TharmaKS,

I don’t know it will serve your purpose. But take a look.

Regards
Balamurugan.S

0 Likes

#4

Thank you for your response.It’s working.

0 Likes

closed #5

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.

0 Likes