private ThrowsArgumentOutOfRangeException_WhenListIsEmpty ( ) : void | ||
return | void |
public void ThrowsArgumentOutOfRangeException_WhenListIsEmpty()
{
var list = new RecentCollection<int>(10);
int first = list[0];
Console.WriteLine(first);
}