feat: special key reading

This commit is contained in:
Gerard Gascón 2024-04-16 17:55:13 +02:00
parent c475204437
commit 2a6f41713e
5 changed files with 144 additions and 8 deletions

View file

@ -1,5 +1,7 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Extensions {
public class LimitedSizeList<T> {
@ -17,5 +19,15 @@ namespace Extensions {
List.RemoveAt(0);
}
}
public override string ToString() {
StringBuilder result = new();
foreach (T element in List) {
result.AppendLine(element.ToString());
}
return result.ToString();
}
}
}