Skip to main content
12 events
when toggle format what by license comment
Oct 12, 2017 at 21:20 review Reopen votes
Oct 13, 2017 at 0:26
Aug 22, 2014 at 21:14 history closed Martijn Pieters
Mureinik
brasofilo
Brad Werth
Omar
Duplicate of Are multiple answers by the same user acceptable?
Aug 22, 2014 at 20:58 answer added Kyle Strand timeline score: -2
Aug 22, 2014 at 18:09 review Close votes
Aug 22, 2014 at 21:17
Aug 22, 2014 at 15:39 comment added Cody Gray Mod Truth is, @dav_i, I'd post those as a single answer. The second is just a LINQ query that is doing the exact same thing as the first under the hood. You'd probably lead with the LINQ solution, and then mention that LINQ is only available starting with whatever version of .NET it was introduced with (who remembers that?) and give the first as a fallback.
Aug 22, 2014 at 15:29 comment added Schorsch I can imagine situations where you can have a limited number of useful, different solutions. However, with the questions I remember in that category, they spawned lots of answers where users provided "their way" of doing it, which is not always helpful.
Aug 22, 2014 at 15:27 comment added dav_i @Schorsch How about the case of, for example, "How do I get a list of Names from a list of People objects in C#?". Answer 1: var names = new List<string>(); foreach(var person in people) { names.Add(person.Name); } Answer 2: var names = people.Select(person => person.Name).ToList(); - both completely correct, two completely different answers.
Aug 22, 2014 at 15:24 comment added Schorsch In addition I would also consider voting to close as too broad in these cases.
Aug 22, 2014 at 15:05 vote accept dav_i
Aug 22, 2014 at 14:51 answer added Cody GrayMod timeline score: 20
Aug 22, 2014 at 14:51 comment added Jay Blanchard Personally I would rather see it as two separate answers.
Aug 22, 2014 at 14:47 history asked dav_i CC BY-SA 3.0