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

C#

 
AnswerRe: Get the value from a checklistbox Pin
Alan N6-May-21 4:06
Alan N6-May-21 4:06 
GeneralRe: Get the value from a checklistbox Pin
Luis M. Rojas7-May-21 3:30
Luis M. Rojas7-May-21 3:30 
QuestionHow convert SQL Server Pivot functionality in C# uisng LINQ Pin
Mou_kol3-May-21 5:45
Mou_kol3-May-21 5:45 
QuestionRe: How convert SQL Server Pivot functionality in C# uisng LINQ Pin
Eddy Vluggen3-May-21 6:10
professionalEddy Vluggen3-May-21 6:10 
AnswerRe: How convert SQL Server Pivot functionality in C# uisng LINQ Pin
Mou_kol3-May-21 6:50
Mou_kol3-May-21 6:50 
GeneralRe: How convert SQL Server Pivot functionality in C# uisng LINQ Pin
Eddy Vluggen3-May-21 6:57
professionalEddy Vluggen3-May-21 6:57 
GeneralRe: How convert SQL Server Pivot functionality in C# uisng LINQ Pin
Gerry Schmitz3-May-21 7:49
mveGerry Schmitz3-May-21 7:49 
GeneralRe: How convert SQL Server Pivot functionality in C# uisng LINQ Pin
Eddy Vluggen3-May-21 11:23
professionalEddy Vluggen3-May-21 11:23 
GeneralRe: How convert SQL Server Pivot functionality in C# uisng LINQ Pin
Gerry Schmitz3-May-21 21:56
mveGerry Schmitz3-May-21 21:56 
GeneralRe: How convert SQL Server Pivot functionality in C# uisng LINQ Pin
Pete O'Hanlon3-May-21 23:18
mvePete O'Hanlon3-May-21 23:18 
GeneralRe: How convert SQL Server Pivot functionality in C# uisng LINQ Pin
OriginalGriff4-May-21 1:34
mveOriginalGriff4-May-21 1:34 
QuestionBinding Textblock Text and Textbox Text Pin
mnkdrt3-May-21 4:09
mnkdrt3-May-21 4:09 
AnswerRe: Binding Textblock Text and Textbox Text Pin
Gerry Schmitz3-May-21 8:07
mveGerry Schmitz3-May-21 8:07 
QuestionDebug decompile - urgent project restore Pin
Ahmedtsadek2-May-21 19:05
Ahmedtsadek2-May-21 19:05 
AnswerRe: Debug decompile - urgent project restore Pin
OriginalGriff2-May-21 19:32
mveOriginalGriff2-May-21 19:32 
AnswerRe: Debug decompile - urgent project restore Pin
Kuolung19673-May-21 0:48
Kuolung19673-May-21 0:48 
AnswerRe: Debug decompile - urgent project restore Pin
Gerry Schmitz3-May-21 7:42
mveGerry Schmitz3-May-21 7:42 
GeneralRe: Debug decompile - urgent project restore Pin
Richard Andrew x643-May-21 10:32
professionalRichard Andrew x643-May-21 10:32 
GeneralRe: Debug decompile - urgent project restore Pin
Ahmedtsadek3-May-21 12:55
Ahmedtsadek3-May-21 12:55 
GeneralRe: Debug decompile - urgent project restore Pin
Gerry Schmitz3-May-21 21:41
mveGerry Schmitz3-May-21 21:41 
Questionlinq to objects Extract values between start and end strings Pin
Mou_kol1-May-21 3:09
Mou_kol1-May-21 3:09 
AnswerRe: linq to objects Extract values between start and end strings Pin
OriginalGriff1-May-21 4:28
mveOriginalGriff1-May-21 4:28 
AnswerRe: linq to objects Extract values between start and end strings Pin
Richard MacCutchan1-May-21 4:41
mveRichard MacCutchan1-May-21 4:41 
C#
Where(a => a.ToString() == "2010 FYA" && a.ToString() == "3Q 2014A")

The item in question cannot be equal to both of those literal strings. It can only be one or the other. And you should not need to call ToString on an item that is already a string:
C#
Where(a => a == "2010 FYA" || a == "3Q 2014A")

GeneralRe: linq to objects Extract values between start and end strings Pin
Mou_kol1-May-21 6:44
Mou_kol1-May-21 6:44 
GeneralRe: linq to objects Extract values between start and end strings Pin
Richard MacCutchan1-May-21 6:48
mveRichard MacCutchan1-May-21 6:48 

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.