how don't show some screen resolutions in my dropdown?

Hello
I have script that shows available screen resolutions in my dropdown. It works.

 Resolution[] resolution = Screen.resolutions;
        res = resolution.Distinct().ToArray();

        strRes = new string[res.Length];
        for (int i = 0; i < res.Length; i++)

            {

                strRes <em>= res<em>.width.ToString() + "x" + res_.height.ToString() + " @ " + res*.refreshRate.ToString() + "Hz";*_</em></em>

}

rDropdown.ClearOptions();
rDropdown.AddOptions(strRes.ToList());

rDropdown.RefreshShownValue();
But I would like to remove some unusable screen resolutions that has height < 720. If I use if (res<em>.height >= 720) befor strRes <em>= res<em>.width.ToString() + "x" + res_.height.ToString() + " @ " + res*.refreshRate.ToString() + "Hz"; than I really can see only resolutions with height =>720. My problem is that in dropdown all resolutions with height <720 make empty space now.[169125-dropdown.jpg*|169125] Any ideas how one can get rid off those empty gaps?*
PS Sorry for my poor English:)
_*

Hi @DYV,

Your problem is here strRes = new string[res.Length];, where you create a fixed length array according to the numbers of resolutions. If you skip then e.g. resolution nr 2, you still have an empty string at this position, ergo your empty gaps in the dropdown.

As you are casting your array to a list anyway, why not directly use a List (see here)? You can then use your if statement from above, only filling in actual resolutions