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 ?


#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


#3

Hi @TharmaKS,

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

Regards
Balamurugan.S


#4

Thank you for your response.It’s working.


#5

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