In one of my c# requirement i have datatable in which i am having following data
Category Topics Resourceworked
A tp1 Hemant
A tp2 Kevin
B tp3 Haris
B tp4 Hemant
B tp5 Hemant
C tp6 Kevin
In output i want two set of data
OutPut-1: For each unique category how many resorces worked
Category NoOfResorces
A 2
B 2
C 1
Output-2: How many times resorces worked for unquie category like
Category Resource NoOfTime
A Hemant 1
A Kevin 1
B Haris 1
B Hemant 2
C Kevin 1
What is the best way to achieve output i.e. either datatable filter or LINQ?
Addition: Can anyone LINQ expert will tell me good online website or book for learning LINQ?