|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
CollectionsDoes a VB.NET collection class exist that is:
1. Two-dimensional 2. FIFO (first in, first out) Thank you! - Cheryl "Cheryl" <cheryl.gilb***@impaccompanies.com> schrieb: I suggest to check out the classes and namespaces in the > Does a VB.NET collection class exist that is: > > 1. Two-dimensional > 2. FIFO (first in, first out) 'System.Collections' namespace. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> I've been trying this, but I haven't found what I need.
- Cheryl Show quoteHide quote "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message news:%23c9oZsVbGHA.1264@TK2MSFTNGP05.phx.gbl... > "Cheryl" <cheryl.gilb***@impaccompanies.com> schrieb: > > Does a VB.NET collection class exist that is: > > > > 1. Two-dimensional > > 2. FIFO (first in, first out) > > I suggest to check out the classes and namespaces in the > 'System.Collections' namespace. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> > "Cheryl" <cheryl.gilb***@impaccompanies.com> schrieb: What about the 'Queue' class?> I've been trying this, but I haven't found what I need. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> I think the Queue class is only one-dimentional
- Cheryl Show quoteHide quote "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message news:uC2I98VbGHA.1324@TK2MSFTNGP04.phx.gbl... > "Cheryl" <cheryl.gilb***@impaccompanies.com> schrieb: > > I've been trying this, but I haven't found what I need. > > What about the 'Queue' class? > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> "Cheryl" <cheryl.gilb***@impaccompanies.com> schrieb: Mhm... What would a two-dimensional queue look like?>I think the Queue class is only one-dimentional -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Cheryl,
How about a one-dimensional array in a Queue? -- Show quoteHide quoteHope this helps Jay B. Harlow [MVP - Outlook] ..NET Application Architect, Enthusiast, & Evangelist T.S. Bradley - http://www.tsbradley.net "Cheryl" <cheryl.gilb***@impaccompanies.com> wrote in message news:%23UAmKJWbGHA.1204@TK2MSFTNGP02.phx.gbl... |I think the Queue class is only one-dimentional | | - Cheryl | | "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message | news:uC2I98VbGHA.1324@TK2MSFTNGP04.phx.gbl... | > "Cheryl" <cheryl.gilb***@impaccompanies.com> schrieb: | > > I've been trying this, but I haven't found what I need. | > | > What about the 'Queue' class? | > | > -- | > M S Herfried K. Wagner | > M V P <URL:http://dotnet.mvps.org/> | > V B <URL:http://classicvb.org/petition/> | | 1. Collections are not two dimensional. You have to explain in what
respect you need it to have two dimensions to be able to help you. 2. System.Collections.Queue. Cheryl wrote: Show quoteHide quote > Does a VB.NET collection class exist that is: > > 1. Two-dimensional > 2. FIFO (first in, first out) > > Thank you! > > - Cheryl > > A key and and a value - both strings
- Cheryl Show quoteHide quote "Göran Andersson" <gu***@guffa.com> wrote in message news:evpVB$VbGHA.3692@TK2MSFTNGP05.phx.gbl... > 1. Collections are not two dimensional. You have to explain in what > respect you need it to have two dimensions to be able to help you. > > 2. System.Collections.Queue. > > Cheryl wrote: > > Does a VB.NET collection class exist that is: > > > > 1. Two-dimensional > > 2. FIFO (first in, first out) > > > > Thank you! > > > > - Cheryl > > > > Cheryl,
Can not be a problem it holds object, therefore you can make your own class. Although a it is not a dictionary, simple because of the fact that a dictionary is not FIFO I hope this helps, Cor Show quoteHide quote "Cheryl" <cheryl.gilb***@impaccompanies.com> schreef in bericht news:O4hSaJWbGHA.1272@TK2MSFTNGP03.phx.gbl... >A key and and a value - both strings > > - Cheryl > > "Göran Andersson" <gu***@guffa.com> wrote in message > news:evpVB$VbGHA.3692@TK2MSFTNGP05.phx.gbl... >> 1. Collections are not two dimensional. You have to explain in what >> respect you need it to have two dimensions to be able to help you. >> >> 2. System.Collections.Queue. >> >> Cheryl wrote: >> > Does a VB.NET collection class exist that is: >> > >> > 1. Two-dimensional >> > 2. FIFO (first in, first out) >> > >> > Thank you! >> > >> > - Cheryl >> > >> > > > It looks like making my own class would be my only option.
Thank you! - Cheryl Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:OfO6KOWbGHA.3344@TK2MSFTNGP03.phx.gbl... > Cheryl, > > Can not be a problem it holds object, therefore you can make your own class. > > Although a it is not a dictionary, simple because of the fact that a > dictionary is not FIFO > > I hope this helps, > > Cor > > "Cheryl" <cheryl.gilb***@impaccompanies.com> schreef in bericht > news:O4hSaJWbGHA.1272@TK2MSFTNGP03.phx.gbl... > >A key and and a value - both strings > > > > - Cheryl > > > > "Göran Andersson" <gu***@guffa.com> wrote in message > > news:evpVB$VbGHA.3692@TK2MSFTNGP05.phx.gbl... > >> 1. Collections are not two dimensional. You have to explain in what > >> respect you need it to have two dimensions to be able to help you. > >> > >> 2. System.Collections.Queue. > >> > >> Cheryl wrote: > >> > Does a VB.NET collection class exist that is: > >> > > >> > 1. Two-dimensional > >> > 2. FIFO (first in, first out) > >> > > >> > Thank you! > >> > > >> > - Cheryl > >> > > >> > > > > > > > Not sure what you want exactly but maybe this simplistic example will work:
Private Structure myStructure Dim Key as string Dim Value as string End Structure Use that structure to hold your key-value pairs and then a Que or Stack to hold myStructures. Should be easy to "roll" your own FIFO using this concept. -- Show quoteHide quoteDennis in Houston "Cheryl" wrote: > It looks like making my own class would be my only option. > > Thank you! > > - Cheryl > "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message > news:OfO6KOWbGHA.3344@TK2MSFTNGP03.phx.gbl... > > Cheryl, > > > > Can not be a problem it holds object, therefore you can make your own > class. > > > > Although a it is not a dictionary, simple because of the fact that a > > dictionary is not FIFO > > > > I hope this helps, > > > > Cor > > > > "Cheryl" <cheryl.gilb***@impaccompanies.com> schreef in bericht > > news:O4hSaJWbGHA.1272@TK2MSFTNGP03.phx.gbl... > > >A key and and a value - both strings > > > > > > - Cheryl > > > > > > "Göran Andersson" <gu***@guffa.com> wrote in message > > > news:evpVB$VbGHA.3692@TK2MSFTNGP05.phx.gbl... > > >> 1. Collections are not two dimensional. You have to explain in what > > >> respect you need it to have two dimensions to be able to help you. > > >> > > >> 2. System.Collections.Queue. > > >> > > >> Cheryl wrote: > > >> > Does a VB.NET collection class exist that is: > > >> > > > >> > 1. Two-dimensional > > >> > 2. FIFO (first in, first out) > > >> > > > >> > Thank you! > > >> > > > >> > - Cheryl > > >> > > > >> > > > > > > > > > > > > > > You mean that you want a queue where each item has a key and a value?
Not really two dimensional, but rather a double one dimensional list? If you use framework 2.0 you can use generics to make typed lists. I believe that you could make a queue that holds KeyValuePair-elements: Queue<KeyValuePair<string,string>> Cheryl wrote: Show quoteHide quote > A key and and a value - both strings > > - Cheryl > > "Göran Andersson" <gu***@guffa.com> wrote in message > news:evpVB$VbGHA.3692@TK2MSFTNGP05.phx.gbl... >> 1. Collections are not two dimensional. You have to explain in what >> respect you need it to have two dimensions to be able to help you. >> >> 2. System.Collections.Queue. >> >> Cheryl wrote: >>> Does a VB.NET collection class exist that is: >>> >>> 1. Two-dimensional >>> 2. FIFO (first in, first out) >>> >>> Thank you! >>> >>> - Cheryl >>> >>> > > Cheryl,
Queue class http://msdn2.microsoft.com/en-us/library/system.collections.queue.aspx I hope this helps, Cor
How about: How do I attach a file to an email w/MailTo: ?
Access rights for a web application to read a text file on a different server Binding to an enumeration strong reference between objects in different assemblies web reference to system.web.dll Converting VB Script Code to VB.NET 2005 SelectionChangeCommitted event TCP send & Recieve evaluate or transform or ??? Creating Worksheets from Existing Excel Instances in VB.NET? |
|||||||||||||||||||||||