Answers for "c# queue get first position"

VBA
1

change the first item in a queue vb.net

class MyClass
{
    public string Value { get; set; }
}

Queue<MyClass> queue = new Queue<MyClass>();
queue.Enqueue(new MyClass() { Value = "1" });
queue.Peek().Value = 2;
string value = queue.Peek().Value; // is 2
Posted by: Guest on September-29-2020

Code answers related to "VBA"

Browse Popular Code Answers by Language