0
How to fix this error System.Collection.Generic.List'[system.string]
i have string list list _name.add(string.format("{0}{1}",content1,content2)) when try to write this list_name in file using stream writer . i get the below line of Text instead of actual value System.Collection.Generic.List'[system.string] how could I do this
1 Answer
0
you can't write a list in C# like you can in python. in c#, you'll need to append each item in the list onto a string and then write that