Click here to Skip to main content
15,867,330 members
Home / Discussions / C#
   

C#

 
GeneralRe: Drag and drop dynamically a video from a media player to another container Pin
Hervend19-Dec-17 20:37
Hervend19-Dec-17 20:37 
Questionsave appointment on the shared exchange calendar Pin
maxim^18-Dec-17 23:22
maxim^18-Dec-17 23:22 
AnswerRe: save appointment on the shared exchange calendar Pin
OriginalGriff18-Dec-17 23:26
mveOriginalGriff18-Dec-17 23:26 
AnswerRe: save appointment on the shared exchange calendar Pin
Pete O'Hanlon19-Dec-17 4:03
subeditorPete O'Hanlon19-Dec-17 4:03 
Questionlambda expression to retrieve sequence based on an array value where the array is stored in the sequence Pin
Krellon18-Dec-17 23:02
Krellon18-Dec-17 23:02 
AnswerRe: lambda expression to retrieve sequence based on an array value where the array is stored in the sequence Pin
OriginalGriff18-Dec-17 23:25
mveOriginalGriff18-Dec-17 23:25 
GeneralRe: lambda expression to retrieve sequence based on an array value where the array is stored in the sequence Pin
Krellon19-Dec-17 0:13
Krellon19-Dec-17 0:13 
GeneralRe: lambda expression to retrieve sequence based on an array value where the array is stored in the sequence Pin
Richard Deeming19-Dec-17 2:19
mveRichard Deeming19-Dec-17 2:19 
Member 12616185 wrote:
var myResults = Object1.Where(m => m.Object2.Select(o => o.Value == "802.11g") != null);

That's not going to do what you want. It's just going to return every item from the input sequence, since m.Object2.Select(...) returns an IEnumerable<T> which is never equal to null.

Try:
C#
var myResults = Object1.Where(m => m.Object2.Any(o => o.Value == "802.11g"));




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: lambda expression to retrieve sequence based on an array value where the array is stored in the sequence Pin
Krellon19-Dec-17 5:37
Krellon19-Dec-17 5:37 
SuggestionRe: lambda expression to retrieve sequence based on an array value where the array is stored in the sequence Pin
Richard Deeming19-Dec-17 2:17
mveRichard Deeming19-Dec-17 2:17 
GeneralRe: lambda expression to retrieve sequence based on an array value where the array is stored in the sequence Pin
OriginalGriff19-Dec-17 2:26
mveOriginalGriff19-Dec-17 2:26 
QuestionHaving trouble working with balls on Pong game in Windows forms in C# Pin
Wagner18-Dec-17 4:29
Wagner18-Dec-17 4:29 
AnswerRe: Having trouble working with balls on Pong game in Windows forms in C# Pin
Kenneth Haugland18-Dec-17 4:34
mvaKenneth Haugland18-Dec-17 4:34 
GeneralRe: Having trouble working with balls on Pong game in Windows forms in C# Pin
Wagner18-Dec-17 4:53
Wagner18-Dec-17 4:53 
AnswerRe: Having trouble working with balls on Pong game in Windows forms in C# Pin
Ron Nicholson18-Dec-17 5:25
professionalRon Nicholson18-Dec-17 5:25 
GeneralRe: Having trouble working with balls on Pong game in Windows forms in C# Pin
Wagner18-Dec-17 6:46
Wagner18-Dec-17 6:46 
AnswerRe: Having trouble working with balls on Pong game in Windows forms in C# Pin
Gerry Schmitz18-Dec-17 6:35
mveGerry Schmitz18-Dec-17 6:35 
GeneralRe: Having trouble working with balls on Pong game in Windows forms in C# Pin
Wagner18-Dec-17 7:28
Wagner18-Dec-17 7:28 
GeneralRe: Having trouble working with balls on Pong game in Windows forms in C# Pin
Gerry Schmitz18-Dec-17 7:45
mveGerry Schmitz18-Dec-17 7:45 
QuestionConfigure container in Bootstrapper with Unity Pin
Kenneth Haugland17-Dec-17 3:17
mvaKenneth Haugland17-Dec-17 3:17 
AnswerRe: Configure container in Bootstrapper with Unity Pin
Chris Quinn17-Dec-17 21:36
Chris Quinn17-Dec-17 21:36 
GeneralRe: Configure container in Bootstrapper with Unity Pin
Kenneth Haugland18-Dec-17 1:57
mvaKenneth Haugland18-Dec-17 1:57 
AnswerRe: Configure container in Bootstrapper with Unity Pin
Kenneth Haugland18-Dec-17 8:24
mvaKenneth Haugland18-Dec-17 8:24 
QuestionRegarding article post of mvc pagelist. Pin
Member 1320094417-Dec-17 3:15
Member 1320094417-Dec-17 3:15 
AnswerRe: Regarding article post of mvc pagelist. Pin
Afzaal Ahmad Zeeshan17-Dec-17 4:32
professionalAfzaal Ahmad Zeeshan17-Dec-17 4:32 

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.