Click here to Skip to main content
15,885,216 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to convert Persian date representation? Pin
Richard Deeming21-Sep-21 21:45
mveRichard Deeming21-Sep-21 21:45 
GeneralRe: How to convert Persian date representation? Pin
BillWoodruff21-Sep-21 23:21
professionalBillWoodruff21-Sep-21 23:21 
GeneralRe: How to convert Persian date representation? Pin
Richard Deeming21-Sep-21 23:24
mveRichard Deeming21-Sep-21 23:24 
GeneralRe: How to convert Persian date representation? Pin
BillWoodruff22-Sep-21 0:53
professionalBillWoodruff22-Sep-21 0:53 
GeneralRe: How to convert Persian date representation? Pin
BillWoodruff16-Sep-21 1:28
professionalBillWoodruff16-Sep-21 1:28 
QuestionC# Confusion about LINQ Grouping Pin
Mou_kol14-Sep-21 23:11
Mou_kol14-Sep-21 23:11 
AnswerRe: C# Confusion about LINQ Grouping Pin
Richard Deeming14-Sep-21 23:42
mveRichard Deeming14-Sep-21 23:42 
GeneralRe: C# Confusion about LINQ Grouping Pin
Mou_kol14-Sep-21 23:51
Mou_kol14-Sep-21 23:51 
Sir this kind of grouping still not clear.

C#
GroupBy(
		 x => new { x.Section, x.Lineitem, x.BrokerCode, x.BrokerName },
		 x => new { x.Period, x.PeriodValue })


if it is one group then why there two x=> new{}

in first set they mention four fields name and in second set they mention two fields name.

still not clear the syntax how it is working. is it grouping on six fields ? if yes then developer could mention 6 fields name with in one
C#
x=> new{x.Section, x.Lineitem, x.BrokerCode, x.BrokerName,x.Period, x.PeriodValue}
?

please help me to understand how these grouping is working. if possible please attach small sample code which explain how this grouping is working.

Thanks
GeneralRe: C# Confusion about LINQ Grouping Pin
Richard Deeming15-Sep-21 0:41
mveRichard Deeming15-Sep-21 0:41 
GeneralRe: C# Confusion about LINQ Grouping Pin
Mou_kol15-Sep-21 3:51
Mou_kol15-Sep-21 3:51 
GeneralRe: C# Confusion about LINQ Grouping Pin
Richard Deeming15-Sep-21 4:15
mveRichard Deeming15-Sep-21 4:15 
AnswerRe: C# Confusion about LINQ Grouping Pin
BillWoodruff15-Sep-21 19:35
professionalBillWoodruff15-Sep-21 19:35 
GeneralRe: C# Confusion about LINQ Grouping Pin
Mou_kol15-Sep-21 20:22
Mou_kol15-Sep-21 20:22 
GeneralRe: C# Confusion about LINQ Grouping Pin
Dave Kreskowiak16-Sep-21 2:25
mveDave Kreskowiak16-Sep-21 2:25 
GeneralRe: C# Confusion about LINQ Grouping Pin
Mou_kol16-Sep-21 6:30
Mou_kol16-Sep-21 6:30 
GeneralRe: C# Confusion about LINQ Grouping Pin
Mou_kol15-Sep-21 20:39
Mou_kol15-Sep-21 20:39 
QuestionC# How to convert my List<T> to Pivot datatable Pin
Mou_kol14-Sep-21 6:00
Mou_kol14-Sep-21 6:00 
AnswerRe: C# How to convert my List<T> to Pivot datatable Pin
Richard Deeming14-Sep-21 6:56
mveRichard Deeming14-Sep-21 6:56 
GeneralRe: C# How to convert my List<T> to Pivot datatable Pin
BillWoodruff14-Sep-21 19:29
professionalBillWoodruff14-Sep-21 19:29 
GeneralRe: C# How to convert my List<T> to Pivot datatable Pin
Mou_kol14-Sep-21 21:05
Mou_kol14-Sep-21 21:05 
GeneralRe: C# How to convert my List<T> to Pivot datatable Pin
Mou_kol14-Sep-21 22:50
Mou_kol14-Sep-21 22:50 
GeneralRe: C# How to convert my List<T> to Pivot datatable Pin
Richard Deeming14-Sep-21 23:15
mveRichard Deeming14-Sep-21 23:15 
GeneralRe: C# How to convert my List<T> to Pivot datatable Pin
Mou_kol14-Sep-21 23:54
Mou_kol14-Sep-21 23:54 
GeneralRe: C# How to convert my List<T> to Pivot datatable Pin
Richard Deeming15-Sep-21 0:38
mveRichard Deeming15-Sep-21 0:38 
GeneralRe: C# How to convert my List<T> to Pivot datatable Pin
Mou_kol15-Sep-21 3:49
Mou_kol15-Sep-21 3:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.