Is instantiating a Queue using {a,b,c} possible in C#?
arrays, c#, icollection, queue
Solution
No you cannot initialize a queue in that way.
Anyway, you can do something like this:
var q = new Queue<string>( new[]{ "A", "B", "C" });
and this, obviously, means to pass through an array.
Problem
Is it possible to do that in C#? ``` Queue<string> helperStrings = {"right", "left", "up", "down"}; ``` or do I have to produce an array first for that?