Skip to main content

List iteration with span


var list = new List<int>();
foreach(var item in CollectionsMarshal.AsSpan(list))
{
  
}