Yes, this is the problem:

for (int i = 0; i &lt; luvut.Length; i++)
{
    if (luvut[i] - ka &lt; luvut[i + 1] - ka)


When i is luvut.Length - 1, then i + 1 will be luvut.Length - and therefore an invalid index. (For an array of length x, the valid indexes are 0 to x - 1 inclusive.) You probably want to end one iteration earlier:

for (int i = 0; i &lt; luvut.Length - 1; i++)


That way i + 1 will still be a valid index in the array - both in the if condition and in the body of the else clause.

C# & VS error: "make sure that the maximum index on a list is less than the list size"
I'm wondering how I would go about making extra crispy chicken breading like they do at many places like KFC and the like. Is there a certain ingredient that makes the breading like that?

Any assistance would be very much appreciated, and feel free to share any of your own recipes for crispy chicken breading if you have them. I'll be sure to put them to good use!

Thanks!
