Find the index in an array of lists

Find the index in an array of lists

I have a following array. I would like to find the index of the array which has M in the list so it should give me 2.

I have a following array. I would like to find the index of the array which has M in the list so it should give me 2.

 Array    List
    0 - > B, P , C
    1 - > U, O, L
    2 - > I, N, M

List<string>[] final = new List<string>[3];

I tried the following:

Array.IndexOf(final,"M")

But it does not work and it returns - 1 because second parameter is a list. Please do not use Linq

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

C/C++ vs. Rust: A developer’s perspective

In this post, you'll see the difference between Rust and C/C++ in a developer’s perspective

Increased array size. after increaseSize function some arguments of the same array are invalid. C lang

The program takes some txt input from "numbers.txt" file. It first counts the&nbsp;<strong><em>amount</em></strong>&nbsp;of all the numbers (freqCount)in that text file, than reads the file again and with the use of malloc it creates two arrays A and B , of which both have size equal to the&nbsp;<strong>amount</strong>&nbsp;of all the numbers in the text file. So far so good.