Ant
New member
I created a class with int, float, and string types. As I parse a file I create a dynamic List of Node Objects.
so I endup with myNode[0] thru myNode[x]
With the list complete I want to export to a simple csv file. But I'm having trouble getting the Object into string form to utimately export to a csv file. I tried a couple string methods, none seems to create a valid string.
Is there a method that would work on a single Object?
C#:
List<Node> myNode = new List<Node>(); // my class individual node data
so I endup with myNode[0] thru myNode[x]
With the list complete I want to export to a simple csv file. But I'm having trouble getting the Object into string form to utimately export to a csv file. I tried a couple string methods, none seems to create a valid string.
C#:
string csvOut = tpNode[0].ToString();
var stringList = tpNode.OfType<string>();
Is there a method that would work on a single Object?