employer cover photo
employer logo
employer logo

Dealertrack by Cox Automotive

Azienda coinvolta

Domanda di colloquio di Dealertrack by Cox Automotive

If you have an integer array with duplicate values, how will you remove the duplicates.

Risposta di colloquio

Anonimo

15 feb 2016

int[] s = { 1, 2, 3, 3, 4}; int[] q = s.Distinct().ToArray();