using System.Collections;
using System.Collections.Generic;
public static void Main()
var mainArray = new int[] {1,2,3,4,5};
var mins = new List<int> {};
for(var i=0; i<mainArray.Length+1 - seqLength; i++) {
var tempMin = int.MaxValue;
for(var j=0; j<seqLength; j++) {
if(tempMin > mainArray[i+j]){
tempMin = mainArray[i+j];
foreach(var min in mins) {
Console.WriteLine("Max Min:");
Console.WriteLine(maxMin);