1
Answer

Count repetitive words in string array in C#

Photo of Rahul Patil

Rahul Patil

Apr 12
202
1
using System; using System.Collections.Generic; public class Program { public static void Main() { //string[] _list = []; ; List a = new List(); //bool inWord = false; string[] arr = {"hello","test","hello","raf"}; int _counter = 0; //int c = 0; for (int i = 0; i

Answers (1)