Datables toTuples

I am trying to extract more than 3 columns from data table using LINQ . How to get values from datatable in tuples

@A_Dev

Could you please tell me more details for better understanding. And also show me some sample input and output.

Hi @lakshman
I want to extract 3 columns from a datatable .In places where only 2 columns are required I made use of Dictionary as unique column as key and the other one as value . But now i need 3 columns say example STUDENT ID, MARK1, MARK2, i am trying to use tuple for this , I am expecting some this like this below

image

NOTE : As of now , I am using dictionary key=STUDENT ID ,value= “MARK1”+“MARK2” . I am trying to find is there any other best ways is possible.

Thanks in advance