c# - A data structure like Queue with access to last element -


I need a data structure like a queue only at the end of the cue, only the first element can be extracted and new elements are added You can. And I also need access to the last element.

System.Collections.Queue requires all but the last feature.

I wonder if there is any kind of data structure built into it?

The C # class is exactly what you need.

See

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -