Click here to Skip to main content
15,177,283 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to convert Persian date representation? Pin
Richard Deeming21-Sep-21 22:45
mveRichard Deeming21-Sep-21 22:45 
GeneralRe: How to convert Persian date representation? Pin
BillWoodruff22-Sep-21 0:21
mveBillWoodruff22-Sep-21 0:21 
GeneralRe: How to convert Persian date representation? Pin
Richard Deeming22-Sep-21 0:24
mveRichard Deeming22-Sep-21 0:24 
GeneralRe: How to convert Persian date representation? Pin
BillWoodruff22-Sep-21 1:53
mveBillWoodruff22-Sep-21 1:53 
GeneralRe: How to convert Persian date representation? Pin
BillWoodruff16-Sep-21 2:28
mveBillWoodruff16-Sep-21 2:28 
QuestionC# Confusion about LINQ Grouping Pin
Mou_kol15-Sep-21 0:11
MemberMou_kol15-Sep-21 0:11 
AnswerRe: C# Confusion about LINQ Grouping Pin
Richard Deeming15-Sep-21 0:42
mveRichard Deeming15-Sep-21 0:42 
GeneralRe: C# Confusion about LINQ Grouping Pin
Mou_kol15-Sep-21 0:51
MemberMou_kol15-Sep-21 0: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 1:41
mveRichard Deeming15-Sep-21 1:41 
GeneralRe: C# Confusion about LINQ Grouping Pin
Mou_kol15-Sep-21 4:51
MemberMou_kol15-Sep-21 4:51 
GeneralRe: C# Confusion about LINQ Grouping Pin
Richard Deeming15-Sep-21 5:15
mveRichard Deeming15-Sep-21 5:15 
AnswerRe: C# Confusion about LINQ Grouping Pin
BillWoodruff15-Sep-21 20:35
mveBillWoodruff15-Sep-21 20:35 
GeneralRe: C# Confusion about LINQ Grouping Pin
Mou_kol15-Sep-21 21:22
MemberMou_kol15-Sep-21 21:22 
GeneralRe: C# Confusion about LINQ Grouping Pin
Dave Kreskowiak16-Sep-21 3:25
mveDave Kreskowiak16-Sep-21 3:25 
GeneralRe: C# Confusion about LINQ Grouping Pin
Mou_kol16-Sep-21 7:30
MemberMou_kol16-Sep-21 7:30 
GeneralRe: C# Confusion about LINQ Grouping Pin
Mou_kol15-Sep-21 21:39
MemberMou_kol15-Sep-21 21:39 
QuestionC# How to convert my List<T> to Pivot datatable Pin
Mou_kol14-Sep-21 7:00
MemberMou_kol14-Sep-21 7:00 
AnswerRe: C# How to convert my List<T> to Pivot datatable Pin
Richard Deeming14-Sep-21 7:56
mveRichard Deeming14-Sep-21 7:56 
GeneralRe: C# How to convert my List<T> to Pivot datatable Pin
BillWoodruff14-Sep-21 20:29
mveBillWoodruff14-Sep-21 20:29 
GeneralRe: C# How to convert my List<T> to Pivot datatable Pin
Mou_kol14-Sep-21 22:05
MemberMou_kol14-Sep-21 22:05 
GeneralRe: C# How to convert my List<T> to Pivot datatable Pin
Mou_kol14-Sep-21 23:50
MemberMou_kol14-Sep-21 23:50 
GeneralRe: C# How to convert my List<T> to Pivot datatable Pin
Richard Deeming15-Sep-21 0:15
mveRichard Deeming15-Sep-21 0:15 
GeneralRe: C# How to convert my List<T> to Pivot datatable Pin
Mou_kol15-Sep-21 0:54
MemberMou_kol15-Sep-21 0:54 
GeneralRe: C# How to convert my List<T> to Pivot datatable Pin
Richard Deeming15-Sep-21 1:38
mveRichard Deeming15-Sep-21 1:38 
GeneralRe: C# How to convert my List<T> to Pivot datatable Pin
Mou_kol15-Sep-21 4:49
MemberMou_kol15-Sep-21 4: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.