Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • \$\begingroup\$ I don't think LINQ will be better \$\endgroup\$ Commented Feb 24, 2020 at 14:10
  • 1
    \$\begingroup\$ @ExpiredData Well, that "can't think of a way" part was implicitly followed by "without doubling the byte count" :) \$\endgroup\$ Commented Feb 24, 2020 at 14:13
  • \$\begingroup\$ It's not that far off 16 bytes more.. maybe there's a way to golf it down. \$\endgroup\$ Commented Feb 24, 2020 at 14:21
  • \$\begingroup\$ Thanks for your C# submission! What is the LINQ thing? \$\endgroup\$ Commented Feb 24, 2020 at 14:37
  • 3
    \$\begingroup\$ @RGS: Language INtegrated Query (LINQ) is an series of APIs in .Net that allow you to handle collections with a query language. It has two syntaxes: 1. SQL-like syntax 2. Fluent syntax on the IEnumerable<T> interface. See here for the official documentation: docs.microsoft.com/en-us/dotnet/standard/using-linq \$\endgroup\$ Commented Feb 25, 2020 at 16:43