Updated Index checking bound on Linked List

This commit is contained in:
2022-03-04 10:17:51 +00:00
parent dc2768f1ac
commit 02f49782ee
2 changed files with 12 additions and 7 deletions

View File

@ -19,5 +19,5 @@ list2.Append(3);
LinkedList<int> list3 = LinkedList<int>.Create(list, list2);
int x = list3[2] = 5;
int x = list3[5] = 5;
Console.ReadLine();