System.ArgumentOutOfRangeException: 'Index was out of range. Must be non-negative and less than the size of the collection. Arg_ParamName_Name'
요소의 개수가 다른 List B로 교체됐을 때
해당 에러가 발생함list의 k번째 요소를 사용할 때 유효성 검사를 추가하여 null이 아닐 때 실행하도록 함
list[k] != null && ...