T
tshad
I have the following code:
***************************************
public class Test
{
....
public static TestCollection MyNewCollection()
{
}
}
// Define Collections here
public class TestCollection : List<Test>
************************************
What is this doing here?
I assume that I have a class of Test and the last line allows me to make
class that is just a collection (array) of objects of type Test.
Is that what is happening here?
I then saw some code that did something like:
....
List<Test> myList:
....
Which would define "myList" as a collection of objects of type Test?
Is this what is happening?
Thanks,
Tom
***************************************
public class Test
{
....
public static TestCollection MyNewCollection()
{
}
}
// Define Collections here
public class TestCollection : List<Test>
************************************
What is this doing here?
I assume that I have a class of Test and the last line allows me to make
class that is just a collection (array) of objects of type Test.
Is that what is happening here?
I then saw some code that did something like:
....
List<Test> myList:
....
Which would define "myList" as a collection of objects of type Test?
Is this what is happening?
Thanks,
Tom