Ad
  • Custom User Avatar

    i mean if the arrays aren't the same length, which it does specify they are, you can always just have the result as which one continues so

    a = {5, 2, 1, 9}
    b = {3, 5, 8}
    result = {5, 5, 8, 9}

    also taking 1 off the len is completely pointless as you added one back on when declaring the array newArry and could've done i < len with it's original value before taking 1 off and you could've just done a.Length each time, would've been less code as it's only used twice you've made a deal out of the lenght of a 3 times.

  • Custom User Avatar

    So you going to expect people to know what C, B and A is?

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    i completely agree too, just recently starting to do C#, about a few months now, for college, but i've done python for years and i just feel like it's just a gimick. It's just used to show off and not for practicality. Glad some people agree with me!!!

    Doesn't help for people trying to learn too, usually if i see "using Linq;" i just ignore it cause it's someone trying to do a 1 liner