1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Added List.Front

Added a Front to complement Back.
This commit is contained in:
Damian Day 2020-03-28 22:33:46 +00:00
parent d9a820f5a1
commit 2a88e95e01

View file

@ -227,6 +227,15 @@ namespace System.Collections.Generic
#endif
}
}
public ref T Front
{
get
{
Debug.Assert(mSize != 0);
return ref mItems[0];
}
}
public ref T Back
{