C# Int отказывается конвертироваться в String

Программисты, нужна ваша помощь! Возникла проблема на ровном месте. У меня есть массив String[], и при попытки конвертировать его в int, и с помощью Int32.Parse, и с помощью Convert.ToInt32, ничего не выходит. Но самое интересное, что вижуал считает что она уже конвертнула в int, но всё равно ошибка. введите сюда описание изображения

P.s.0 Ошибка появляется только при попытки запустить прогу, в простое компилятер ни на что, не ругается

P.s. Массив, вижуал студио, берет из TXT-файла.

using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;

namespace WinFormsApp3
{
    public partial class Form1 : Form
    {
        public static string[] Config = File.ReadAllLines("C:/config.txt");

        public static int Width_Resolution = Int32.Parse(Config[4]);
        public static int Height_Resolution = Int32.Parse(Config[6]);
        public static int ReticleSize = Int32.Parse(Config[22]);
        public static int Reticle_Start = ReticleSize / 2;
        public static int TaskBar_Size = Int32.Parse(Config[17]);

        public Form1()
        {
            InitializeComponent();

            this.StartPosition = FormStartPosition.Manual;
            TopMost = true;
            this.Width = Width_Resolution;
            this.Height = Height_Resolution;
            this.TransparencyKey = this.BackColor;
            FormBorderStyle = FormBorderStyle.None;
            this.Top = Screen.PrimaryScreen.WorkingArea.Height - Height_Resolution;
            this.Left = Screen.PrimaryScreen.WorkingArea.Width - Width_Resolution;
            this.ShowInTaskbar = false;

        }
    }
}

Ответы (0 шт):