Created
November 9, 2025 12:22
-
-
Save wullemsb/78129478897b459f90fbf404bda5e94b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ImmutableStack<T> | |
| { | |
| private readonly ImmutableList<T> _items; | |
| public ImmutableStack(IEnumerable<T> items) | |
| { | |
| _items = ImmutableList.CreateRange(items); | |
| } | |
| // Stack operations... | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment