feat: special key reading
This commit is contained in:
parent
c475204437
commit
2a6f41713e
5 changed files with 144 additions and 8 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue