Creating a list from a queue : Queue : Data Structure C# Examples


C# Examples » Data Structure » Queue »

 

Creating a list from a queue









    
using  System;
using  System.Collections;
using  System.Collections.Generic;
using  System.Collections.ObjectModel;
using  System.Text;

public  class  MainClass
{
        public  static  void  Main()
        {
                Queue  <string>  q  =  new  Queue<string>();
                List<string>  stringList  =  new  List<string>(q);
        }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Structure
» Queue