D
dawn
SO I am having issues with adding items to a list....I have created a
file StreamReader which reads values from a file I have connected
through streams. WHat I am trying to do, is depending on whether the
row has 4 values, or 5values instantiate an object(of previous classes
I have created) and store those objects in a list. SO the method needs
to read the entire document, and when a row has four items, instantiate
object A, five items instantiate object B, and store these items in a
list. I know that I probably messed up terms, but hopefully someone
can help me!!
file StreamReader which reads values from a file I have connected
through streams. WHat I am trying to do, is depending on whether the
row has 4 values, or 5values instantiate an object(of previous classes
I have created) and store those objects in a list. SO the method needs
to read the entire document, and when a row has four items, instantiate
object A, five items instantiate object B, and store these items in a
list. I know that I probably messed up terms, but hopefully someone
can help me!!