using System;
using System.Linq;
using System.Collections.Generic;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) 
        {
            Console.WriteLine("Hello world!");
            method(new int[]{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,22,24,25});
        }
        
        public static void method(int[] arr)
        {
            var ele = arr.GroupBy(x => x).Where(x => x.Count() > 1).ToDictionary(x => x.Key,x => x.Count());
            foreach(KeyValuePair<int,int> i in ele)
            {
                Console.WriteLine("{0} => {1}",i.Key,i.Value);
            }
            int item  = Enumerable.Range(1,arr.Length).Where(x => x );
        }
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: