Click here to Skip to main content
15,793,735 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# features Pin
Gerry Schmitz26-May-23 4:27
mveGerry Schmitz26-May-23 4:27 
GeneralRe: C# features Pin
Calin Negru26-May-23 23:11
Calin Negru26-May-23 23:11 
GeneralRe: C# features Pin
Gerry Schmitz27-May-23 3:54
mveGerry Schmitz27-May-23 3:54 
GeneralRe: C# features Pin
jschell27-May-23 10:29
jschell27-May-23 10:29 
GeneralRe: C# features Pin
Gerry Schmitz27-May-23 14:28
mveGerry Schmitz27-May-23 14:28 
GeneralRe: C# features Pin
jschell29-May-23 7:02
jschell29-May-23 7:02 
GeneralRe: C# features Pin
Calin Negru28-May-23 5:16
Calin Negru28-May-23 5:16 
GeneralRe: C# features Pin
Gerry Schmitz28-May-23 5:52
mveGerry Schmitz28-May-23 5:52 
I have an in-memory collection; it contains "blocks"; these blocks represent different types of troops; these troops belong to different "teams". Some blocks (brigades) have other blocks as children. Some blocks don't belong to any team.

If I wanted to retrieve all "blue" infantry that were not currently in action, etc .... that's LINQ "to objects".

LINQ, when used properly, gets rid of a pile of if's and for loops while doing "object oriented programming".

If you're strictly "procedural", then none of this works for you.


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

GeneralRe: C# features Pin
Calin Negru29-May-23 3:39
Calin Negru29-May-23 3:39 
GeneralRe: C# features Pin
PIEBALDconsult26-May-23 5:57
professionalPIEBALDconsult26-May-23 5:57 
GeneralRe: C# features Pin
OriginalGriff26-May-23 12:36
mvaOriginalGriff26-May-23 12:36 
GeneralRe: C# features Pin
PIEBALDconsult26-May-23 12:42
professionalPIEBALDconsult26-May-23 12:42 
AnswerRe: C# features Pin
Richard MacCutchan26-May-23 2:04
mveRichard MacCutchan26-May-23 2:04 
GeneralRe: C# features Pin
Calin Negru26-May-23 22:37
Calin Negru26-May-23 22:37 
AnswerRe: C# features Pin
BillWoodruff26-May-23 20:42
professionalBillWoodruff26-May-23 20:42 
GeneralRe: C# features Pin
Calin Negru29-May-23 7:05
Calin Negru29-May-23 7:05 
QuestionGoogle API Authentication in a WPF App Pin
Kevin Marois22-May-23 15:04
professionalKevin Marois22-May-23 15:04 
AnswerRe: Google API Authentication in a WPF App Pin
Dave Kreskowiak22-May-23 19:54
mveDave Kreskowiak22-May-23 19:54 
QuestionConcurrentList<T> Pin
Richard Andrew x6421-May-23 9:40
professionalRichard Andrew x6421-May-23 9:40 
AnswerRe: ConcurrentList<T> Pin
Gerry Schmitz21-May-23 9:50
mveGerry Schmitz21-May-23 9:50 
GeneralRe: ConcurrentList<T> Pin
Richard Andrew x6421-May-23 11:32
professionalRichard Andrew x6421-May-23 11:32 
GeneralRe: ConcurrentList<T> Pin
Gerry Schmitz22-May-23 13:01
mveGerry Schmitz22-May-23 13:01 
GeneralRe: ConcurrentList<T> Pin
BillWoodruff22-May-23 12:38
professionalBillWoodruff22-May-23 12:38 
GeneralRe: ConcurrentList<T> Pin
Gerry Schmitz22-May-23 13:06
mveGerry Schmitz22-May-23 13:06 
AnswerRe: ConcurrentList<T> Pin
Richard Deeming21-May-23 22:05
mveRichard Deeming21-May-23 22:05 

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.