Skip to content

Instantly share code, notes, and snippets.

@salluvada
salluvada / linqvsdict-to-find-duplicates.cs
Created June 4, 2020 23:29
compare linq and dict on performance for finding duplicates in a string array.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
namespace rnd
{
class Program
{